1 Kings 3:14

14 and if thou dost walk in My ways to keep My statutes, and My commands, as David thy father walked, then I have prolonged thy days.'

1 Kings 3:14 Meaning and Commentary

1 Kings 3:14

And if thou wilt walk in my ways
Prescribed and directed to in his word, to keep my statutes and my commandments;
ceremonial, moral, and judicial: as thy father David did walk;
which Solomon himself had observed, ( 1 Kings 3:6 ) ; and whose walk was worthy of his imitation: then I will lengthen thy days;
the other promises of riches and honour are absolute, but this of long life conditional, depending upon his holy walk and conversation; and hence, because he failed in this the Jews observe he did not attain to long life, dying, as they suppose, at fifty two years of age; which is grounded on a wrong hypothesis, that he was but twelve years of age when he he began to reign, and he reigned forty years, as before observed.

1 Kings 3:14 In-Context

12 lo, I have done according to thy words; lo, I have given to thee a heart, wise and understanding, that like thee there hath not been before thee, and after thee there doth not arise like thee;
13 and also, that which thou hast not asked I have given to thee, both riches and honour, that there hath not been like thee a man among the kings all thy days;
14 and if thou dost walk in My ways to keep My statutes, and My commands, as David thy father walked, then I have prolonged thy days.'
15 And Solomon awaketh, and lo, a dream; and he cometh in to Jerusalem, and standeth before the ark of the covenant of Jehovah, and causeth to ascend burnt-offerings, and maketh peace-offerings. And he maketh a banquet for all his servants,
16 then come in do two women, harlots, unto the king, and stand before him,
Young's Literal Translation is in the public domain.