Proverbs 11:4 Riches profit not in the day of wrath: but righteousness delivereth from death.
5 The righteousness of the perfect shall direct his way: but the wicked shall fall by his own wickedness.
6 The righteousness of the upright shall deliver them: but transgressors shall be taken in their own naughtiness.
For those that know much about the end of times in Revelations all the riches in the world will not do anyone any good because you have to have the mark of the beast to buy and sell anything. The riches we need to obtain is in the righteousness of God in growing as close to Him as we can in wisdom and knowledge. With this we can know that the paths we take will be directed by our righteousness and this righteousness shall deliver us from the snares of the devil. As for those that insist to continue to live a life of wickedness and transgress against the will God and His people will fall by their own doings. Even though we see today plenty of people not living in the will of God and believing nothing bad will happen to them, they are wrong because all will be judged by God and given their just rewards.
In I Thessalonians 5:9 “For God hath not appointed us to wrath, but to obtain salvation by our Lord Jesus Christ,”
In I Thessalonians 1:10 we read: “And to wait for his Son from heaven, whom he raised from the dead, even Jesus, which delivered us from the wrath to come.”