You mean in the US? If so, which Supreme Court case are you basing this on?
Edit: As dextralt pointed out, I ask not because I expect HN posts to adhere to scientific journal standards, but because that claim is contrary to every Supreme Court decision in recent history, so I have trouble figuring out how you got that idea.
Edit 2: As dextralt's post is now flagged, let me reproduce what they cited:
Hate speech in the United States is not regulated due to the robust right to free speech found in the American Constitution. The U.S. Supreme Court has repeatedly ruled that hate speech is legally protected free speech under the First Amendment. The most recent Supreme Court case on the issue was in 2017, when the justices unanimously reaffirmed that there is effectively no "hate speech" exception to the free speech rights protected by the First Amendment. -- https://en.wikipedia.org/wiki/Hate_speech_in_the_United_Stat...