"Surely the Lord GOD will do nothing, but He revealeth His counsel unto His servants the prophets" (Amos 3:7). "Surely the Lord GOD will do nothing" — this is Joseph, "and Joseph said unto Pharaoh: The dream of Pharaoh is one" (Genesis 41:25). Another interpretation: "Surely the Lord GOD will do nothing" — this is Daniel, "then was the secret revealed unto Daniel in a vision of the night" (Daniel 2:19). Another interpretation: "Surely the Lord GOD will do nothing" — this is Moses, "and Moses said: Thus saith the LORD: About midnight" (Exodus 11:4). Another interpretation: "Surely the Lord GOD will do nothing" — this is Elisha, "go, say unto him: Thou shalt surely recover" (II Kings 8:10). Another interpretation: "Surely the Lord GOD will do nothing" — these are the Sages, as we have learned: "On four occasions the pestilence increases" (Mishnah Avot 5:9). Another interpretation: "Surely the Lord GOD will do nothing" — this is Joshua, "and the LORD said unto Moses: Take thee Joshua the son of Nun, a man in whom is spirit" (Numbers 27:18). Another interpretation: "Surely the Lord GOD will do nothing" — this is Elijah, "and the LORD said unto him: Go, return on thy way" (I Kings 19:15). Another interpretation: "Surely the Lord GOD will do nothing" — this is Ahijah the Shilonite, "and the LORD said unto Ahijah: Behold, the wife of Jeroboam" (I Kings 14:5). Another interpretation: "Surely the Lord GOD will do nothing" — this is Samuel, "now the LORD had revealed unto Samuel's ear" (I Samuel 9:15).
Amos 3 and the Prophets to Whom God Revealed His Secret
Midrash Shmuel 14:1
כי לא יעשה ה' אלהים דבר כי אם גלה סודו אל עבדיו הנביאים (עמוס ג' ז'), כי לא יעשה ה' אלהים דבר וגו' זה יוסף, ויאמר יוסף אל פרעה חלום פרעה אחד הוא וגו' (בראשית מ"א כ"ה), דבר אחר כי לא יעשה ה' אלהים [וגו'] זה דניאל אדיין לדניאל בחזוא די ליליא רזא גלי (דניאל ב' י"ט), דבר אחר כי לא יעשה [וגו'], זה משה ויאמר משה כה אמר ה' כחצות הלילה (שמות י"א ד'), דבר אחר כי לא יעשה [וגו'] זה אלישע, לך אמור לו חיו תחיה וגו' (מלכים ב' ח' י'), דבר אחר כי לא יעשה וגו' [אלו החכמים] דתנינן בארבעה פרקים הדבר מרובה, דבר אחר כי לא יעשה וגו' [זה יהושע] ויאמר ה' אל משה קח לך את יהושע בן נון אשר רוח בו (במדבר כ"ז י"ח), דבר אחר כי לא יעשה וגו', זה אליהו ויאמר ה' אליו לך שוב לדרכך וגו' (מלכים א' י"ט ט"ו). דבר אחר כי לא יעשה וגו', זה אחיה השילוני, וה' אמר אל אחיה הנה אשת ירבעם וגו' (שם י"ד ה'), דבר אחר כי לא יעשה וגו', זה שמואל, וה' גלה את אזן שמואל וגו' (שמואל א' ט' ט"ו).