2 Chronicles 7:17-19 - WEB
17
As for you, if you will walk before me as David your father walked, and do according to all that I have commanded you, and will keep my statutes and my ordinances;
18
then I will establish the throne of your kingdom, according as I covenanted with David your father, saying, There shall not fail you a man to be ruler in Israel.
19
But if you turn away, and forsake my statutes and my commandments which I have set before you, and shall go and serve other gods, and worship them;
Full Chapter