God didn't overlook your sins, lest he endorse them. He didn't punish you, lest he destroy you. He instead found a way to punish the sin and preserve the sinner. Jesus took your punishment, and God gave you credit for Jesus' perfection.
Max Lucado (2014). “Grace: More Than We Deserve, Greater Than We Imagine”, p.36, Thomas Nelson Inc