A gracious God gives us the hope of forgiveness of guilt, if we repent with contrition and set forth intention to flee past sins and not anger God by them. This is the essence of repentance.
Do not just be a passionless seeker of your shortcomings; mourn them, and sincerely regret that they were committed. Mourning begets the humble resolution to flee shortcomings; while knowledge alone, although it is accompanied by the intention to be cautious, leads to pride, from which deliver us, O Lord!

St. Theophan the Recluse
"The Spiritual Life"