Numbers 15:30

Amplified Bible (AMP)
But the person who does [anything wrong] [c]willfully and defiantly, whether he is native-born or a stranger, that one is blaspheming the Lord, and that person shall be cut off from among his people [excluding him from the atonement made for them].

Read Numbers 15:30 in other translations