Atonement – Wikipedia

Atonement (also atoning, to atone) is the concept of a person taking action to correct previous wrongdoing on their part, either through direct action to undo the consequences of that act, equivalent action to do good for others, or some other expression of feelings of remorse.From the Middle English attone or atoon (“agreed”, literally “at one”), now meaning to be “at one”, in harmony, with …

https://en.wikipedia.org/wiki/Atonement