very much want to validate what you're expressing about intrusive thoughts
You are far from alone, and wise to recognize that having a thought pop up doesn't mean that you want to act on it nor does it even reflect how you feel
https://www.psychologytoday.com/us/articles/200103/the-imp-of-the-mindbook-review