Numbers 15:27-31 CSB
“If one person sins unintentionally, he is to present a year-old female goat as a sin offering. The priest will then make atonement before the LORD on behalf of the person who acts in error sinning unintentionally, and when he makes atonement for him, he will be forgiven. You are to have the same law for the person who acts in error, whether he is an Israelite or an alien who resides among you.
“But the person who acts defiantly, whether native or resident alien, blasphemes the LORD. That person is to be cut off from his people. He will certainly be cut off, because he has despised the LORD’s word and broken his command; his guilt remains on him.”
CSB: Christian Standard Bible