2 Chronicles 7:19

But if ye 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;

Leviticus 26:14

But if ye will not hearken unto me, and will not do all these commandments;

Deuteronomy 28:15

But it shall come to pass, if thou wilt not hearken unto the voice of the LORD thy God, to observe to do all his commandments and his statutes which I command thee this day; that all these curses shall come upon thee, and overtake thee:

Leviticus 26:33-46

And I will scatter you among the heathen, and will draw out a sword after you: and your land shall be desolate, and your cities waste.

Deuteronomy 4:23-27

Take heed unto yourselves, lest ye forget the covenant of the LORD your God, which he made with you, and make you a graven image, or the likeness of any thing, which the LORD thy God hath forbidden thee.

Deuteronomy 28:36-68

The LORD shall bring thee, and thy king which thou shalt set over thee, unto a nation which neither thou nor thy fathers have known; and there shalt thou serve other gods, wood and stone.

Joshua 23:15-16

Therefore it shall come to pass, that as all good things are come upon you, which the LORD your God promised you; so shall the LORD bring upon you all evil things, until he have destroyed you from off this good land which the LORD your God hath given you.

1 Samuel 12:25

But if ye shall still do wickedly, ye shall be consumed, both ye and your king.

1 Kings 9:6-7

But if ye shall at all turn from following me, ye or your children, and will not keep my commandments and my statutes which I have set before you, but go and serve other gods, and worship them:

1 Kings 11:4-8

For it came to pass, when Solomon was old, that his wives turned away his heart after other gods: and his heart was not perfect with the LORD his God, as was the heart of David his father.

1 Chronicles 28:9

And thou, Solomon my son, know thou the God of thy father, and serve him with a perfect heart and with a willing mind: for the LORD searcheth all hearts, and understandeth all the imaginations of the thoughts: if thou seek him, he will be found of thee; but if thou forsake him, he will cast thee off for ever.

Treasury of Scripture Knowledge

Summary

But if ye 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;

General references

Bible References

If ye turn away

Leviticus 26:14
But if ye will not hearken unto me, and will not do all these commandments;
Deuteronomy 28:15
But it shall come to pass, if thou wilt not hearken unto the voice of the LORD thy God, to observe to do all his commandments and his statutes which I command thee this day; that all these curses shall come upon thee, and overtake thee:
1 Samuel 12:25
But if ye shall still do wickedly, ye shall be consumed, both ye and your king.
1 Chronicles 28:9
And thou, Solomon my son, know thou the God of thy father, and serve him with a perfect heart and with a willing mind: for the LORD searcheth all hearts, and understandeth all the imaginations of the thoughts: if thou seek him, he will be found of thee; but if thou forsake him, he will cast thee off for ever.

Shall go

Deuteronomy 4:23
Take heed unto yourselves, lest ye forget the covenant of the LORD your God, which he made with you, and make you a graven image, or the likeness of any thing, which the LORD thy God hath forbidden thee.
Joshua 23:15
Therefore it shall come to pass, that as all good things are come upon you, which the LORD your God promised you; so shall the LORD bring upon you all evil things, until he have destroyed you from off this good land which the LORD your God hath given you.
1 Kings 9:6
But if ye shall at all turn from following me, ye or your children, and will not keep my commandments and my statutes which I have set before you, but go and serve other gods, and worship them:
1 Kings 11:4
For it came to pass, when Solomon was old, that his wives turned away his heart after other gods: and his heart was not perfect with the LORD his God, as was the heart of David his father.

General references

Jeremiah 9:13
And the LORD saith, Because they have forsaken my law which I set before them, and have not obeyed my voice, neither walked therein;

King James Version Public Domain