2 Chronicles 7:19

However, if you turn away and abandon My statutes and My commands that I have set before you and if you go and serve other gods and worship them,

Leviticus 26:14

“But if you do not obey Me and observe all these commands—

Deuteronomy 28:15

“But if you do not obey the Lord your God by carefully following all His commands and statutes I am giving you today, all these curses will come and overtake you:

Leviticus 26:33-46

But I will scatter you among the nations, and I will draw a sword to chase after you. So your land will become desolate, and your cities will become ruins.

Deuteronomy 4:23-27

Be careful not to forget the covenant of the Lord your God that He made with you, and make an idol for yourselves in the shape of anything He has forbidden you.

Deuteronomy 28:36-68

“The Lord will bring you and your king that you have appointed to a nation neither you nor your fathers have known, and there you will worship other gods, of wood and stone.

Joshua 23:15-16

Since every good thing the Lord your God promised you has come about, so He will bring on you every bad thing until He has annihilated you from this good land the Lord your God has given you.

1 Samuel 12:25

However, if you continue to do what is evil, both you and your king will be swept away.”

1 Kings 9:6-7

If you or your sons turn away from following Me and do not keep My commands—My statutes that I have set before you—and if you go and serve other gods and worship them,

1 Kings 11:4-8

When Solomon was old, his wives seduced him to follow other gods. He was not completely devoted to Yahweh his God, as his father David had been.

1 Chronicles 28:9

“As for you, Solomon my son, know the God of your father, and serve Him with a whole heart and a willing mind, for the Lord searches every heart and understands the intention of every thought. If you seek Him, He will be found by you, but if you forsake Him, He will reject you forever.

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 you do not obey Me and observe all these commands—
Deuteronomy 28:15
“But if you do not obey the Lord your God by carefully following all His commands and statutes I am giving you today, all these curses will come and overtake you:
1 Samuel 12:25
However, if you continue to do what is evil, both you and your king will be swept away.”
1 Chronicles 28:9
“As for you, Solomon my son, know the God of your father, and serve Him with a whole heart and a willing mind, for the Lord searches every heart and understands the intention of every thought. If you seek Him, He will be found by you, but if you forsake Him, He will reject you forever.

Shall go

Deuteronomy 4:23
Be careful not to forget the covenant of the Lord your God that He made with you, and make an idol for yourselves in the shape of anything He has forbidden you.
Joshua 23:15
Since every good thing the Lord your God promised you has come about, so He will bring on you every bad thing until He has annihilated you from this good land the Lord your God has given you.
1 Kings 9:6
If you or your sons turn away from following Me and do not keep My commands—My statutes that I have set before you—and if you go and serve other gods and worship them,
1 Kings 11:4
When Solomon was old, his wives seduced him to follow other gods. He was not completely devoted to Yahweh his God, as his father David had been.

General references

Jeremiah 9:13
The Lord said, “It is because they abandoned My instruction that I set in front of them and did not obey My voice or walk according to it.

Holman Christian Standard Bible®, Copyright © 1999, 2000, 2002, 2003, 2009 by Holman Bible Publishers.