King James Version
Now the days of David drew nigh that he should die; and he charged Solomon his son, saying,English Standard Version
When David's time to die drew near, he commanded Solomon his son, saying,New International Version
When the time drew near for David to die, he gave a charge to Solomon his son.