The righteousness of Christ is imputed to us believers
Because He kept the Law perfectly, He can look at us as if we did/are doing/will do the same.
Jesus also said (to the Jews) that unless their righteousness exceeded that of the scribes and Pharisees, they would never enter the Kingdom of...