We are very quick to judge others and point out their mistakes. Well, what did Jesus say in this situation? When Jesus was giving His sermon on the mount he said:
“Or how wilt thou say to thy brother, Let me pull out the mote out of thine eye; and, behold, a beam is in thine own eye? Thou hypocrite, first cast out the beam out of thine own eye; and then shalt thou see clearly to cast out the mote out of thy brother's eye.” Mathew 7:4-5
Jesus is telling us to take the wooden beam out of our own eyes first then go help a friend remove the speck (mote) out of their eye.
This is not a command to not judge but a command to not judge hypocritically.
You make judgements every single day. You make choices between safe and danger all the time, what clothes to wear, what car to buy or whom to marry.
If we all lived in a world where we said everything is perfectly safe and others do nothing wrong, we would all be lying.
Jesus did not forbid the use of critical thinking and spiritual discernment. His prohibition was directed toward hypocrites who judge with wrong motives. The hypocrites did not seek to forgive, correct, restore, and harmonize brothers and sisters to God. Rather, they intentionally sought to injure others for personal gain.
Just remember before you go judge somebody else, make sure you have that problem fixed in your own life first before you begin to help somebody else remove a speck in their eyes. If you do discover someone needs help in a certain area of their lives, it has to be communicated in a loving manner.