Most of us judge others based on who we are, not who they are. We think we know a lot about others when we still have not figured out ourselves. It is so difficult to know oneself and almost impossible to really know others.
If you keep judging others adversely, you need to look deeper. You may find that what you are seeing in others, maybe a reflection of who you are.
Most people have a good side and not so good side. What do you notice more? If you focus on the good in others, it also reflects good in you. When you see beauty, you are beauty!
The side benefit of seeing good in others is that we attract the good in them.