You are right to be concerned about this, because the Bible clearly tells us that God not only judges individuals, but also judges nations that rebel against Him and turn their backs on His righteousness and justice.
It happened most clearly in the Old Testament, when God eventually allowed the enemies of ancient Israel to invade and destroy it. First came the Assyrians, a cruel and heartless nation that destroyed the northern tribes of Israel; later the Babylonians destroyed Jerusalem and captured the southern tribes. Repeatedly, God sent His prophets to warn of judgment and urge the people to turn back to God, but they refused, and eventually God allowed their nation to collapse. God said, “Again and again I sent all my servants the prophets to you…. But you have not paid attention or listened to me” (Jeremiah 35:15).
No one can say exactly when that might happen to us (or any other nation) because God is patient, and He doesn’t give us what we deserve. But we must never ignore His warnings or assume He doesn’t care what we do — because He does. Sin is an offense to Him because it’s a deliberate rejection of God and all the good things He’s done for us.
Pray for our nation, and pray for those around you who don’t know Christ or have turned their backs on Him. God loves them just as He does you, and He sent His only Son into the world to give His life for their salvation. God’s promise is true: “In repentance and rest is your salvation, in quietness and trust is your strength” (Isaiah 30:15).