We often think of prayer as thanksgiving & presenting our requests to God but confession & forgiveness is actually a key part in how Jesus teaches us to pray (Luke 11:4).
Keeping that in mind, we need to remember that the practices of confession and forgiveness are both essential to live a righteous and holy life.