Exodus 21:17

17 “Anyone who curses their father or mother is to be put to death.

Read Exodus 21:17 Using Other Translations

And he that curseth his father, or his mother, shall surely be put to death.
"Whoever curses his father or his mother shall be put to death.
“Anyone who dishonors father or mother must be put to death.