dividing it by lottery among yourselves and among the foreigners who live among you and bear children among you. You are to treat them like native-born Israelis. Among you they, too, are to be allotted an inheritance with the tribes of Israel. 