"At this time tomorrow I will send you a man out of the land of Benjamin, etc. [for I have seen My people, because its cry has come to Me]" (1 Samuel 9:16). Rav Hanan bar Ada inquired: Concerning the past? No. Rather, before the appointed end has arrived, the Holy One, blessed be He, removes Himself far off; once the appointed end has arrived, the Holy One, blessed be He, makes Himself known.
Why God Hides Until the Appointed End Arrives in Midrash Shmuel
Midrash Shmuel 14:2
כעת מחר אשלח אליך איש מארץ וגו' [כי ראיתי את עמי כי באה צעקתו אלי] (שמואל א' ט' ט"ז) רב חנן בר אדא בעי לשעבר, לאו, אלא עד שלא הגיע הקץ הקדוש ברוך הוא מפליג עצמו, משהגיע הקץ הקדוש ברוך הוא מפרסם עצמו.