21 When David's time to die approached, he charged his son Solomon, saying, 2 "I'm about to go the way of all the earth, but you - be strong; show what you're made of! 3 Do what God tells you. Walk in the paths he shows you: Follow the life-map absolutely, keep an eye out for the signposts, his course for life set out in the revelation to Moses; then you'll get on well in whatever you do and wherever you go. 4 Then God will confirm what he promised me when he said, 'If your sons watch their step, staying true to me heart and soul, you'll always have a successor on Israel's throne.'
Matthew Henry's Commentary on 1 Kings 2:1-4
Commentary on 1 Kings 2:1-4
(Read 1 Kings 2:1-4)
David's charge to Solomon is, to keep the charge of the Lord. The authority of a dying father is much, but nothing to that of a living God. God promised David that the Messiah should come from his descendants, and that promise was absolute; but the promise, that there should not fail of them a man on the throne of Israel, was conditional; if he walks before God in sincerity, with zeal and resolution: in order hereunto, he must take heed to his way.