Interesting, I've never really looked at the subject very closely to be honest. Though a quick search reveals these three verses:
- Matthew 7:1
[ Judging Others ] "Do not judge, or you too will be judged.
Matthew 7:1-3 (in Context) Matthew 7 (Whole Chapter)
- Matthew 7:2
For in the same way you judge others, you will be judged, and with the measure you use, it will be measured to you.
Matthew 7:1-3 (in Context) Matthew 7 (Whole Chapter)
- Luke 6:37
[ Judging Others ] "Do not judge, and you will not be judged. Do not condemn, and you will not be condemned. Forgive, and you will be forgiven.
Luke 6:36-38 (in Context) Luke 6 (Whole Chapter)
So the idea you presented is correct, but I think mine is as well. The Bible says "Do not judge", but it also gives the consequences of judging, which is that you'll be judged by others.