Deuteronomy 23:8 NIV

8 The third generation of children born to them may enter the assembly of the LORD.