Sorrow at having done wrong (7)
I believe the answer is:
remorse
(Other definitions for remorse that I've seen before include "Guilty conscience" , "Regret or sorrow for wrong-doing" , "Sorrow for wrong committed" , "Guilt for a wrong deed" , "Ruefulness" .)