I think perhaps you are speaking of shame, rather than guilt, at least in my conception of the words. Guilt says, "What I did was bad or unacceptable." Shame says, "I am bad or unacceptable."