Four Decrees of Moses Annulled by Four Prophets

Yalkut Shimoni on Torah 291:1

Rabbi Yose ben Rabbi Chanina said: Moses decreed four decrees upon Israel, and four prophets came and annulled them. Moses said, And Israel dwelt in safety alone, the fountain of Jacob (Deuteronomy 33:28). Amos came and annulled it, as it is said, O Lord GOD, how shall Jacob stand, for he is small? (Amos 7:2), and it is written, The LORD repented concerning this (Amos 7:3). Moses said, And among those nations you shall find no ease (Deuteronomy 28:65). Jeremiah came and annulled it, as it is said, going to give him rest, even Israel (Jeremiah 31:2). Moses said, visiting the iniquity of the fathers upon the sons (Exodus 20:5). Ezekiel came and annulled it, as it is said, The soul that sins, it shall die (Ezekiel 18:4). Moses said, And you shall perish among the nations (Leviticus 26:38). Isaiah came and annulled it, as it is said, And it shall come to pass on that day, that a great horn shall be blown (Isaiah 27:13).

Themes