You are your virtues, your potential for goodness, excellence. The mistake is to identify yourself with your vices. You are not your vices. Your vices merely prevent you from becoming yourself, from doing what you are capable of, at any given time.
(Christianity is the application of this view of oneself to others through love.)