Deuteronomy 29:20
18 Beware that the heart of no man, woman, clan, or tribe among you turns away from the Lord our God today to pursue and serve the gods of those nations; beware that there is among you no root producing poisonous and bitter fruit. 19 When such a person hears the words of this oath he secretly blesses himself and says, ‘I will have peace though I continue to walk with a stubborn spirit.’ This will destroy the watered ground with the parched. 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. 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. 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.
Daniel 9:13
11 “All Israel has broken your law and turned away by not obeying you. Therefore you have poured out on us the judgment solemnly threatened in the law of Moses the servant of God, for we have sinned against you. 12 He has carried out his threats against us and our rulers who were over us by bringing great calamity on us—what has happened to Jerusalem has never been equaled under all heaven! 13 Just as it is written in the law of Moses, so all this calamity has come on us. Still we have not tried to pacify the Lord our God by turning back from our sin and by seeking wisdom from your reliable moral standards. 14 The Lord was mindful of the calamity, and he brought it on us. For the Lord our God is just in all he has done, and we have not obeyed him. 15 “Now, O Lord our God, who brought your people out of the land of Egypt with great power and made a name for yourself that is remembered to this day—we have sinned and behaved wickedly.
Notes and References
"... The composers of the prayer in Nehemiah 9 applied its form to the early restoration community in the Persian province of Yehud. Most scholars ascribe the book of Daniel and the prayer in Dan 9 to the second century B.C.E. Towner views it as “a distinct genre of prayer” that occurs only in relatively late texts. It may therefore reflect “prayer practice in the second temple or even nascent synagogue”? Boda thinks that it “may reflect a much earlier period” and finds both Deuteronomistic and priestly influence in the prayer. The word-pair “curse and oath” in Daniel 9 seems to allude to Deuteronomy 29:20–21 and 30:7. As [these terms] are never used along [each other] in Deuteronomy and as a word-pair only in passages with priestly concerns (Nehemiah 5:21; 10:30), Boda regards this as priestly vocabulary imposed upon the citation of Deuteronomy ..."
Werline, Rodney A. "Prayer, Politics, and Social Vision in Daniel 9" in Boda, Mark J., et al. (eds.) Seeking the Favor of God (p. 38) Society of Biblical Literature, 2006