These are believers that Jesus is talking about, but he is talking to nonbelievers. See John 10:19-20 and you will know.
The forgiveness saying is in the sermon on the mount and these people were certainly not being judged by their own self righteousness. Good try.
As important a saying as was found in John, the Matthew saying is just as important. You seem to strain at who Jesus was talking to and miss his whole point. Forgivenenss is important to Jesus, don't underestimate this concept.
youre conflating your first verses out of context with other verses out of context
im glad you brought up john 10 though
this is the chapter that God used to finally show me the way to salvation
and broke the false doctrine i had

john 9
36 He answered and said, Who is he, Lord, that I might believe on him?
37 And Jesus said unto him, Thou hast both seen him, and it is he that talketh with thee.
38 And he said, Lord, I believe. And he worshipped him.
39 And Jesus said, For judgment I am come into this world, that they which see not might see; and that they which see might be made blind.
40 And some of the Pharisees which were with him heard these words, and said unto him, Are we blind also?
41 Jesus said unto them, If ye were blind, ye should have no sin: but now ye say, We see; therefore your sin remaineth.
John 10
10 Verily, verily, I say unto you, He that entereth not by the door into the sheepfold, but climbeth up some other way, the same is a thief and a robber.
2 But he that entereth in by the door is the shepherd of the sheep.
3 To him the porter openeth; and the sheep hear his voice: and he calleth his own sheep by name, and leadeth them out.
4 And when he putteth forth his own sheep, he goeth before them, and the sheep follow him: for they know his voice.
5 And a stranger will they not follow, but will flee from him: for they know not the voice of strangers.
6 This parable spake Jesus unto them: but they understood not what things they were which he spake unto them.
7 Then said Jesus unto them again, Verily, verily, I say unto you, I am the door of the sheep.
8 All that ever came before me are thieves and robbers: but the sheep did not hear them.
9 I am the door: by me if any man enter in, he shall be saved, and shall go in and out, and find pasture.
10 The thief cometh not, but for to steal, and to kill, and to destroy: I am come that they might have life, and that they might have it more abundantly.
11 I am the good shepherd: the good shepherd giveth his life for the sheep.
__________
He is the way
anyone who tries to work their way in
or earn it themself
are like the theifs and robbers