Deuteronomy 29:21 New King James Version (NKJV)

And the Lord would separate him from all the tribes of Israel for adversity, according to all the curses of the covenant that are written in this Book of the Law,

Deuteronomy 29

Deuteronomy 29:16-29