to tell the truth about sth so that you no longer feel guilty
make a clean breast of sth
Definitions from the Oxford Advanced Learner's Dictionary, 9th edition