1 Kings 9:4
And if you will walk before me, as David your father walked, in integrity of heart, and in uprightness, to do according to all that I have commanded you, will keep my statutes and my judgments:
ā The Restored Word Bible
Context
2 That the Yahuah appeared to Solomon the second time, as he had appeared unto him at Gibeon.
3 And the Yahuah said unto him, I have heard your prayer and your supplication, that you hast made before me: I have hallowed this house, which you hast built, to put my name there for ever; and mine eyes and mine heart shall be there perpetually.
4 And if you will walk before me, as David your father walked, in integrity of heart, and in uprightness, to do according to all that I have commanded you, will keep my statutes and my judgments:
5 Then I will establish the throne of your kingdom upon Israel for ever, as I promised to David your father, saying, There shall not fail you a man upon the throne of Israel.
6 if ye shall at all turn from following me, ye or your children, and will not keep my commandments my statutes which I have set before you, but go and serve other gods, and worship them: