One could even argue that just having bad thoughts, fantasies or feelings poses a risk to yourself or others.
Humankind has been trying to deal with this issue for thousands of years in the most fantastical ways. They're not going to stop trying.
I decided shortly after becoming an atheist that one of the worst parts was the notion that there are magic words that can force one to feel certain things and I found that to be the same sort of thinking as saying that a woman’s short skirt “made” you attack her.
You’re a fucking adult, you can control your emotions around a little skin or a bad word.
There clearly is a link between words and emotions. But this link - and even more so the link between emotions and actions - is very complex.
Too many fears are based on the assumption of a rather more reductionist and mechanistic sort of link where no one has any control over anything. That's not realistic and our legal system contradicts this assumption.