Deuteronomy 29:20-22

29:20 The Lord will be unwilling to forgive him, and his intense anger will rage against that man; all the curses written in this scroll will fall upon him and the Lord will obliterate his name from memory. 29:21 The Lord will single him out for judgment from all the tribes of Israel according to all the curses of the covenant written in this scroll of the law. 29:22 The generation to come – your descendants who will rise up after you, as well as the foreigner who will come from distant places – will see the afflictions of that land and the illnesses that the Lord has brought on it.