Commentators explain that this verse establishes a principle of radical equality. The same religious laws, requirements for sacrifices, and judgments for disobedience applied equally to native-born Israelites and the foreigners living among them. This prevented a two-tiered system of religious observance within the community of God's people.