This was me for ever.
Don't do it. Don't even bother letting those thoughts finish. Push that dumb shit away.
You'll be happier without all of that's nonsense. It can take a long time too, but it's immensely better when you realize you haven't entertained thoughts like that in a while.