When God justifies us, he charges our sins to Jesus and He credits the righteousness of Jesus to us. We aren't justified by our performance, rather by faith, the perfect righteousness of Jesus becomes ours.