Leviticus 24:15

ESV
And speak to the people of Israel, saying, Whoever curses his God shall bear his sin.