When we walk righteously, we can dwell above this world - Isaiah 33:15-16
He that walketh righteously, and speaketh uprightly; he that despiseth the gain of oppressions, that shaketh his hands from holding of bribes, that stoppeth his ears from hearing of blood, and shutteth his eyes from seeing evil; He shall dwell on high: his place of defence shall be the munitions of rocks: bread shall be given him; his waters shall be sure.
When God’s judgment is poured out upon the earth, He will spare the righteous. Our responsibility is to live a life of righteousness and do what is right, no matter what others do.