In context
47The whole community of Israel is to keep it. 48If a foreigner living among you wants to keep the Passover to Yahweh, every male of his household must be circumcised, and then he may come near and keep it; he will become like a native of the land. But no uncircumcised man may eat of it. 49The same law applies to the native and to the foreigner living among you.” 50All the Israelites did just as Yahweh had commanded Moses and Aaron. 51And on that very day, Yahweh brought the Israelites out of the land of Egypt, company by company.
