Whoever curses his father or his mother, his lamp will be snuffed out in utter darkness.
Proverbs 20:20 TLV

See Exodus 21:17. The penalty for a mortal curse against your parents is death. The penalty for other kinds of curses and mistreatment of your parents is rejection by good people, and then you will be stuck with the company of other cursed people.