You ARE a good guy!
Try to remind yourself when you have those thoughts: "It's not me, it's the OCD."
OCD tends to try to hit you exactly where you are most vulnerable. So somebody who believes very much in justice, for example, and in equality, might get "racist" OCD thoughts.
Because you don't want such thoughts, they are not you. The OCD "wants" to give you thoughts that you don't want.
I have heard the theory that everybody has such intrusive thoughts once in a while, but most people recognize them for what they are - just thoughts, something to shrug off. Maybe laugh off. People with OCD give them importance and are afraid of them. We wonder: Why did I think that? Does it mean I am a bad person? And the more we are afraid of the thoughts, the more they become intrusive.
OCD can be really nasty.
Let me tell you: You are good.
p.s. Yes, do speak with your therapist. Sometimes we need help conquering the OCD. Do you have any OCD-specific therapy, like cognitive-behavioral therapy or medications?