No one outruns Allah anywhere on earth.
A word of comfort to the Prophet ﷺ
Ibn Kathir explains this is addressed to the Prophet ﷺ: do not think those who opposed and denied you can flee from Allah. He is able to deal with them, and their end in the Hereafter is a wretched destination.
Sometimes it looks like people who do wrong just keep going. No consequences. Bigger house every year. This verse is not for gloating. It is for steadying your own heart: no one is outside Allah's reach. So you can stop measuring and keep your own path straight.
Wrongdoers seem to get away with everything.
No one escapes Allah, so I can let go and keep my own path straight.
When you feel bitter about someone getting away with wrong, say hasbiyAllah and turn to your own task.