Everyone who enters into the kingdom will be parading as well as earnestly making sure they get it no matter what. The contrast to the legalists just standing there watching is disturbing. Jesus points out that not only do they not enter themselves, but they do their level best to prevent others from entering as well. None of us are good enough, nor do any of us deserve to be allowed entrance into the kingdom which makes it all the more amazing that we are invited despite the fact that we're all born sinners.
It spotlights the Pharisee in us all. This whole topic of homosexuality is pointless if we get honest with ourselves. God's law is for our benefit. It is all sound doctrine. The Pharisees cherry picked the law and provided loopholes for themselves to get around the laws they didn't want to keep. It is the supreme irony to see Christ pointing this out, and then see Christians use that exact same passage to come up with a legal loophole for God's commandments themselves.
The Mosaic law provides a baseline which Christ not only never does away with, but exceeds. Christianity has completely dropped the ball by assuming that God's commandments are done away with.
I have spent decades arguing with atheists, agnostics, and skeptics, and the incredible irony is in noting that they make the same arguments Christians make when it comes to God's law.
Not sure what you mean by "as being good in all". I'm not referring to the law of the land, but explicitly to the Mosaic law.
That's a level of honesty that is rare today among Christians.
The crux of the matter has to do with the fact that Paul is condemning those who seek to justify themselves by the law. Christianity has concluded that this is an invitation to ignore the law altogether. It is a logical fallacy. It is a Non Sequitur. Just because no one is justified by the law, doesn't do away with the law. The purpose of the law was never to justify anyone. It was a false or illegitimate purpose.