Psalm 73 written by Asaph, is a psalm that tells us something very similar to what we live today. In the beginning of the same, the writer shows that he almost deviated from the straight paths because he saw how the bad ones prospered without receiving punishment and he felt envy of them. How many have not experienced something similar?
Throughout the chapter he narrates how the righteous are flogged while the wicked attains wealth by doing evil. But at a time when he visits the sanctuary of the Lord, he comes to understand that although the wicked is enjoying on this earth, his end will be sad.
So at the end of this psalm Asaph expresses:
25 Whom have I in heaven but thee? and there is none upon earth that I desire beside thee.
26 My flesh and my heart faileth: but God is the strength of my heart, and my portion for ever.
27 For, lo, they that are far from thee shall perish: thou hast destroyed all them that go a whoring from thee.
28 But it is good for me to draw near to God: I have put my trust in the Lord God, that I may declare all thy works.
Psalm 73:25-28 (KJV)
When you go through tribulations remember that we have One in heaven who watches over us, why do we want things from this world? Our flesh and heart may fail, but our portion is God forever. Do not be envious of those who turn away from the Lord and prosper, for in the end they will perish, as verse 27 of Psalm 73 says.
But getting closer to God is the best, our trust must be placed in Him. If like this psalmist at some point you thought that being outside the straight paths is better because the wicked prosper, remember that their end will be bitter and terrible, therefore, keep fighting in the Lord, because He has promised us an incorruptible inheritance, a heavenly abode for eternity.