Having intrusive thoughts does not mean that you are a bad person. The thoughts are in fact obsessions and are part of OCD.