For ever — This seems to note the perpetuity of this law, that it should be inviolably observed in all succeeding ages.
Related Commentaries of Deuteronomy 23:3
Deuteronomy 23:3
3 An Ammonite or Moabite shall not enter into the congregation of the LORD; even to their tenth generation shall they not enter into the congregation of the LORD for ever: