Self-condemnation, n.
Condemnation of one's self by one's own judgment.
Shades of meaning
Fernald has no entry of its own for self-condemnation; he lists it under repentance.
Where he writes about it:
Repentance is sorrow for sin with self-condemnation, and complete turning from the sin. — from repentance