1 Kings 2:3

3 and kept the charge of Jehovah thy God, to walk in His ways, to keep His statutes, His commands, and His judgments, and His testimonies, as it is written in the law of Moses, so that thou dost wisely all that thou dost, and whithersoever thou turnest,

1 Kings 2:3 In-Context

1 And draw near do the days of David to die, and he chargeth Solomon his son, saying,
2 `I am going in the way of all the earth, and thou hast been strong, and become a man,
3 and kept the charge of Jehovah thy God, to walk in His ways, to keep His statutes, His commands, and His judgments, and His testimonies, as it is written in the law of Moses, so that thou dost wisely all that thou dost, and whithersoever thou turnest,
4 so that Jehovah doth establish His word which He spake unto me, saying, If thy sons observe their way to walk before Me in truth, with all their heart, and with all their soul; saying, There is not cut off a man of thine from the throne of Israel.
5 `And also, thou hast known that which he did to me -- Joab son of Zeruiah -- that which he did to two heads of the hosts of Israel, to Abner son of Ner, and to Amasa son of Jether -- that he slayeth them, and maketh the blood of war in peace, and putteth the blood of war in his girdle, that [is] on his loins, and in his sandals that [are] on his feet;
Young's Literal Translation is in the public domain.