That’s why Jesus said that a person’s righteousness must exceed that of the Pharisees.
You’re contradicting your initial assertion.