Chinese words · Chengyu

将功补过

jiānggōng-bǔguòTraditional 將功補過

to atone for a mistake by good deeds

Meanings from our own dictionary. Chengyu from the Xinhua idiom list, the most common first.