The house of Israel allowed foreigners into Yahweh's sanctuary because Israel gave the duty of caring for the sanctuary to them.