Assalamualaikum
Years ago, i am that kind of judgmental person, especially when i was judged by my own kind.
So, God wants to teach me to see things differently, but He makes me learned the hard way, experiencing those by myself.
I start to be more understanding when i put my own self in their shoes, i start to see things with different perspectives. i start to judge even less, because i know exactly how they feel.
We are all sinners, we just sin differently.