1 Solomon finished building the Lord's temple and the royal palace. He had accomplished everything he had planned to do.
2 The Lord appeared to him a second time. He had already appeared to him at Gibeon.
3 The Lord said to him, "I have heard you pray to me. I have heard you ask me to show you my favor. You have built this temple. I have set it apart for myself. My Name will be there forever. My eyes and my heart will always be there.
4 "But you must walk with me, just as your father David did. Your heart must be honest. It must be without blame. Do everything I command you to do. Obey my rules and laws.
5 Then I will set up your royal throne over Israel forever. I promised your father David I would do that. I said to him, 'You will always have a man on the throne of Israel.'
6 "But suppose all of you turn away from me. Or your sons turn away from me. You refuse to obey the commands and rules I have given you. And you go off to serve other gods and worship them.