Here is the whole concept: 1 Do not judge, or you too will be judged. 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”
So if I judge homosexuality wrong, no problem to be judged as I judged them.
Jesus thought so highly of judging that He was adamant about it being done correctly.