If you will do all I command you, follow my ways, and do what I consider right by obeying my laws and commands as my servant David did, then I will be with you. I will build a permanent dynasty for you as I did for David. And I will give you Israel.
I tore the kingdom away from David’s heirs and gave it to you. But you have not been like my servant David. He obeyed my commands and faithfully followed me by doing only what I considered right.
The Lord did this because David did what the Lord considered right: David never failed to do anything the Lord commanded him to do his entire life (except in the matter concerning Uriah the Hittite).
Solomon responded, “You’ve shown great love to my father David, who was your servant. He lived in your presence with truth, righteousness, and commitment. And you continued to show him your great love by giving him a son to sit on his throne today.
“This concerns the temple you are building: If you live by my laws, follow my rules, and keep my commands, I will fulfill the promise I made about you to your father David.
“Now, Lord God of Israel, keep your promise to my father David, your servant. You said, ‘You will never fail to have an heir sitting in front of me on the throne of Israel if your descendants are faithful to me as you have been faithful to me.’
“This is what the Lord of Armies says: If you live according to my ways and follow my requirements, you will govern my temple and watch over my courtyards. Then I will give you free access to walk among those standing here.
Carefully obey the Lord your God, and faithfully follow all his commands that I’m giving you today. If you do, the Lord your God will place you high above all the other nations in the world.