Doing penance implies making amends for one's past mistakes or sins by inflicting punishment on oneself. Some synonyms for the phrase include practicing self-discipline, atoning, making restitution, showing remorse, self-flagellation, fasting, mortifying the flesh, and self-punishment. These synonyms refer to the acts of making up for past misdeeds, seeking forgiveness, and demonstrating one's commitment to change. Doing penance is often practiced in various religious traditions as a means of achieving spiritual growth and redemption. Regardless of the specific context, the act of doing penance is a personal journey towards self-improvement and a recognition of the need for accountability and growth.