So you are having intrusive thoughts?
Ok, when they occur, because they won’t just stop suddenly, it is best to accept them as what they are - thoughts. Nothing more. You are not a bad person for having them.
You can also practice an energy orb around your body. Visualise an orb around you, it is like a shield. Then visualise all the anxiety, all these unpleasant thoughts leaving your brain or whatever area they originate from, leaving your body and leaving the orb. If they try to reenter, they cannot do so.
This needs to be practiced again and again, and it will get stronger the more often you do this. I’ve done this myself since I had similar problems as a child, and I still work with that orb.
As for the list, I don’t see why something would be incorrect. This is you mastering your thoughts. So if reading this list helps you, then do it. Repeat it regularly.
When I was a child and I heard an unpleasant voice I used to say “Stop now.” like a spell. Later, when that sometimes did not help anymore I started saying “Stop forever.” and it worked.
Since it is your own mind, you need to choose whatever gives you strength.