Book of Leviticus

Leviticus 24:15

King James Version
15 And thou shalt speak unto the children of Israel, saying, Whosoever curseth his God shall bear his sin.