There is a problem because those statements ignore the very next verse in Matthew.
Matthew 7:1-5 is do not judge.
6Do not give what is holy to dogs, and do not throw your pearls before swine, or they will trample them under their feet, and turn and tear you to pieces.
You cannot be gay on the inside, be a murderer on the inside, be an adulterer, a liar, a idol worshiper...whatever on the inside and think it’s okay by God. Jesus was none of these things and we are to be like Him in action and in heart.
Matthew 11
28Come to Me, all who are weary and heavy-laden, and I will give you rest.29Take My yoke upon you and learn from Me, for I am gentle and humble in heart, and YOU WILL FIND REST FOR YOUR SOULS.30For My yoke is easy and My burden is light.
Don’t forget the Koran:
“if a man comes upon a man, then they are both adulterers,” “If a woman comes upon a woman, they are both Adulteresses, “When a man mounts another man, the throne of God shakes, and Kill the one that is doing it and also kill the one that it is being done to.”
Abu Dawud (4448) - “If a man who is not married is seized committing sodomy, he will be stoned to death.” (Note the implicit approval of sodomizing one’s wife).