1 No eunuch is to enter the congregation of God.
2 No bastard is to enter the congregation of God, even to the tenth generation, nor any of his children.
3 No Ammonite or Moabite is to enter the congregation of God, even to the tenth generation, nor any of his children, ever. Those nations didn't treat you with hospitality on your travels out of Egypt, and on top of that they also hired Balaam son of Beor from Pethor in Mesopotamia to curse you. God, your God, refused to listen to Balaam but turned the curse into a blessing - how God, your God, loves you! Don't even try to get along with them or do anything for them, ever.
7 But don't spurn an Edomite; he's your kin. And don't spurn an Egyptian; you were a foreigner in his land. 8 Children born to Edomites and Egyptians may enter the congregation of God in the third generation.