Numbers 15:30

Yet truly, the soul who commits any of these acts through arrogance, whether he is a citizen or a sojourner, because he has rebelled against the Lord, shall perish from among his people

Other versions

King James Version

But the soul that doeth ought presumptuously, whether he be born in the land, or a stranger, the same reproacheth the LORD; and that soul shall be cut off from among his people.

English Standard Version

But the person who does anything with a high hand, whether he is native or a sojourner, reviles the LORD, and that person shall be cut off from among his people.

New International Version

"'But anyone who sins defiantly, whether native-born or alien, blasphemes the LORD, and that person must be cut off from his people.