Passage
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;
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;
2 Chronicles 7:17 And as for thee, if thou wilt walk before me as David thy father walked, and do according to all that I have commanded thee, and wilt keep my statutes and mine ordinances;
2 Chronicles 7:18 then I will establish the throne of thy kingdom, according as I covenanted with David thy father, saying, There shall not fail thee a man to be ruler in Israel.
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;
2 Chronicles 7:20 then will I pluck them up by the roots out of my land which I have given them; and this house, which I have hallowed for my name, will I cast out of my sight, and I will make it a proverb and a byword among all peoples.
2 Chronicles 7:21 And this house, which is so high, every one that passeth by it shall be astonished, and shall say, Why hath Jehovah done thus unto this land, and to this house?
The verse centers on "turn", "away", "forsake", "statutes", "commandments", "before", "shall", and "serve". It is saying that the verse draws attention to "turn" and "away", so its meaning should be read from those terms before moving to application.
The nearby context moves from verse 18's "then I will establish the throne of..." into verse 20's "then will I pluck them up by...", so "turn" and "away" belong inside that flow. In 2 Chronicles context, the local focus is covenant, worship, and faithfulness.
A plain takeaway is to answer the verse's own emphasis on "turn" and "away" with trust shaped by these words, not by a vague optimism outside the passage.