perform penance

Translations
выполнять покаяние
She had to perform penance to atone for her sins.
Ей пришлось выполнять покаяние, чтобы искупить свои грехи.