Joshua 24:20

If you forsake Jehovah and serve strange gods, then He will turn and do you harm, and destroy you after He has done you good.

1 Chronicles 28:9

And you, Solomon my son, know the God of your father and serve Him with a perfect heart and with a willing mind. For Jehovah searches all hearts and understands all the imaginations of the thoughts. If you seek Him, He will be found by you. But if you forsake Him, He will cast you off forever.

Acts 7:42

Then God turned and gave them over to serve the host of the heavens, as it is written in the book of the Prophets: "O house of Israel, have you offered to Me slain beasts and sacrifices forty years in the wilderness?

2 Chronicles 15:2

And he went out to meet Asa, and said to him, Hear me, Asa, and all Judah and Benjamin. Jehovah is with you while you are with Him. And if you seek Him, He will be found by you. But if you forsake Him, He will forsake you.

Ezra 8:22

For I was ashamed to ask of the king troops and horsemen to help us against the enemy in the way, because we had spoken to the king, saying, The hand of our God is on all those who seek Him for good, but His power and His wrath are against all those who forsake Him.

Isaiah 1:28

And the downfall of the transgressors and of the sinners shall be together; and those who forsake Jehovah shall be consumed.

Isaiah 63:10

But they rebelled, and troubled His Holy Spirit; therefore He was turned to be their enemy, and He fought against them.

Isaiah 65:11-12

But you are those who forsake Jehovah, who forget My holy mountain, who prepare a table for Fortune, and who furnish the drink offering to Fate.

Jeremiah 17:13

O Jehovah, the Hope of Israel, all who forsake You shall be ashamed. Those who depart from Me shall be written in the earth, because they have forsaken Jehovah, the Fountain of living waters.

Joshua 23:12-15

Otherwise, if you go back in any way, and hold to those left of these nations, these that remain among you, and shall marry them and go in to them and they to you,

Ezekiel 18:24

But when the righteous turns from his righteousness and does injustice, and does according to all the abominations that the wicked do, shall he live? All his righteousness that he has done shall not be remembered; in his trespass that he has trespassed, and in his sin that he has sinned, in them he shall die.

Hebrews 10:26-27

For if we sin willfully after we have received the knowledge of the truth, there remains no more sacrifice for sins,

Hebrews 10:38

Now, "the Just shall live by faith. But if he draws back, My soul shall have no pleasure in him."

Treasury of Scripture Knowledge

Summary

If ye forsake the LORD, and serve strange gods, then he will turn and do you hurt, and consume you, after that he hath done you good.

General references

Bible References

He will turn

Joshua 23:12
Otherwise, if you go back in any way, and hold to those left of these nations, these that remain among you, and shall marry them and go in to them and they to you,
1 Chronicles 28:9
And you, Solomon my son, know the God of your father and serve Him with a perfect heart and with a willing mind. For Jehovah searches all hearts and understands all the imaginations of the thoughts. If you seek Him, He will be found by you. But if you forsake Him, He will cast you off forever.
2 Chronicles 15:2
And he went out to meet Asa, and said to him, Hear me, Asa, and all Judah and Benjamin. Jehovah is with you while you are with Him. And if you seek Him, He will be found by you. But if you forsake Him, He will forsake you.
Ezra 8:22
For I was ashamed to ask of the king troops and horsemen to help us against the enemy in the way, because we had spoken to the king, saying, The hand of our God is on all those who seek Him for good, but His power and His wrath are against all those who forsake Him.
Isaiah 1:28
And the downfall of the transgressors and of the sinners shall be together; and those who forsake Jehovah shall be consumed.
Isaiah 63:10
But they rebelled, and troubled His Holy Spirit; therefore He was turned to be their enemy, and He fought against them.
Isaiah 65:11
But you are those who forsake Jehovah, who forget My holy mountain, who prepare a table for Fortune, and who furnish the drink offering to Fate.
Jeremiah 17:13
O Jehovah, the Hope of Israel, all who forsake You shall be ashamed. Those who depart from Me shall be written in the earth, because they have forsaken Jehovah, the Fountain of living waters.
Ezekiel 18:24
But when the righteous turns from his righteousness and does injustice, and does according to all the abominations that the wicked do, shall he live? All his righteousness that he has done shall not be remembered; in his trespass that he has trespassed, and in his sin that he has sinned, in them he shall die.
Acts 7:42
Then God turned and gave them over to serve the host of the heavens, as it is written in the book of the Prophets: "O house of Israel, have you offered to Me slain beasts and sacrifices forty years in the wilderness?
Hebrews 10:26
For if we sin willfully after we have received the knowledge of the truth, there remains no more sacrifice for sins,

General references

Jeremiah 25:6
And do not go after other gods to serve them, and to worship them, and do not provoke Me to anger with the works of your hands; and I will do you no harm.