How do you hate the sin in your life without hating yourself?
This can be so difficult.
I think the key is to realize that you are not your sin(s). Your sin is worth hating because it keeps you from being who you are meant to be, namely a person in union with God.
Yet, Godly hate is never vindictive or retributive in nature, but rather redemptive and restorative. God hates your sin because he loves you. Do you hate your sin because you love God?
I think it can be a mistake to attempt to muster up more hate for your own sin, because we tend to confuse a holy hatred toward sin and self-loathing.
Rather, I think we we should more often concentrate on cultivating a greater love for God. This is what will put your sin the right perspective and your heart in the right place.
“And you, who were dead in your trespasses and the uncircumcision of your flesh, God made alive together with him, having forgiven us all our trespasses, by canceling the record of debt that stood against us with its legal demands. This he set aside, nailing it to the cross.” (Colossians 2:13–14, ESV)