1 Kings 9:3-6

9:3 The Lord said to him, “I have answered your prayer and your request for help that you made to me. I have consecrated this temple you built by making it my permanent home; I will be constantly present there. 9:4 You must serve me with integrity and sincerity, just as your father David did. Do everything I commanded and obey my rules and regulations. 9:5 Then I will allow your dynasty to rule over Israel permanently, just as I promised your father David, ‘You will not fail to have a successor on the throne of Israel.’

9:6 “But if you or your sons ever turn away from me, fail to obey the regulations and rules I instructed you to keep, and decide to serve and worship other gods,