2 Chronicles 7:17-20 New English Translation (NET)

17. You must serve me as your father David did. Do everything I commanded and obey my rules and regulations.

18. Then I will establish your dynasty, just as I promised your father David, ‘You will not fail to have a successor ruling over Israel.’

19. “But if you people 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,

20. then I will remove you from my land I have given you, I will abandon this temple I have consecrated with my presence, and I will make you an object of mockery and ridicule among all the nations.

2 Chronicles 7