#Why did the house of Israel allow foreigners into Yahweh's sanctuary?

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