Why do righteous suffer and wicked flourish? Where is justice?

Judge hammer

In this world we often see that people are not treated fairly. We see righteous suffer and wicked flourish. But why is that? According to the Bible, God gives justice to those who are treated unfairly.

The LORD gives righteousness and justice to all who are treated unfairly.

( Psalms 103:6 )

But if God gives justice, then why are we seeing so much injustice around?