He was wrong.
Sin matters.
Jesus said:
"If ye love me, keep my commandments.
And I will pray the Father, and he shall give you another Comforter, that he may abide with you for ever; Even the Spirit of truth; whom the world cannot receive, because it seeth him not, neither knoweth him: but ye know him; for he dwelleth with you, and shall be in you."
(John 14:15-17)
If we love Him we will keep his commandments. Which means if we do not keep His commandments, we do not love Him.
And the following verses we should read carefully, all of them.
"For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. For God sent not his Son into the world to condemn the world; but that the world through him might be saved.He that believeth on him is not condemned: but he that believeth not is condemned already, because he hath not believed in the name of the only begotten Son of God. And this is the condemnation, that light is come into the world, and men loved darkness rather than light, because their deeds were evil. For every one that doeth evil hateth the light, neither cometh to the light, lest his deeds should be reproved. But he that doeth truth cometh to the light, that his deeds may be made manifest, that they are wrought in God."
See what it says, if we do evil we hate the light, which is Christ. If we love Christ we will obey Him, if not, we won't.
There is no salvation for the unrepentant sinner. So if you repent, you better mean it, or it won't count. We can tell if you mean it, because you will turn away from sin, which means you will cease doing it. Unrepentant sinners, that is sinners who continue to sin go to Hell.