Sadly there are some people who seem to genuinely believe this.

But it is not true.

Thoughts are not actions. There are no thought crimes.