The issue with 2 Chron 7:14 ...
Is that you have to read all the way to v 19.
God promised TWO things, with conditions—
If you DO these things, I’ll heal your land.
BUT IF YOU DON’T I will (effectively) punish you terribly.
Read the entire promise v7 - v19.
God is just.
The promise was to Israel, and it will be fulfilled—at the end...however, if enough people in our country did turn, or repent from their wicked ways, beginning with our illustrious leaders, perhaps God would relent and in His mercy deliver us from the consequences of those ways.
I should add that I’m not saying that God will deliver us from all the consequences, because sin always has consequences, but perhaps the full measure of what we deserve...