sackcloth and ashes
slightly formal
if you wear sackcloth and ashes, you show by your behaviour that you are very sorry for something you did wrong.
I've already apologized. How long must I wear sackcloth and ashes before you'll forgive me?
Cambridge English Idioms Dictionary