Ezekiel 39:29
27 When I have brought them back from the peoples and gathered them from the countries of their enemies, I will magnify myself among them in the sight of many nations. 28 Then they will know that I am the Lord their God because I sent them into exile among the nations and then gathered them into their own land. I will not leave any of them in exile any longer. 29 I will no longer hide my face from them, when I pour out my Spirit on the house of Israel, declares the Sovereign Lord.”
Joel 2:28
26 You will have plenty to eat, and your hunger will be fully satisfied; you will praise the name of the Lord your God, who has acted wondrously in your behalf. My people will never again be put to shame. 27 You will be convinced that I am in the midst of Israel. I am the Lord your God; there is no other. My people will never again be put to shame. 28 (3:1) “After all of this I will pour out my Spirit on all kinds of people. Your sons and daughters will prophesy. Your elderly will have prophetic dreams; your young men will see visions. 29 Even on male and female servants I will pour out my Spirit in those days. 30 I will produce portents both in the sky and on the earth—blood, fire, and columns of smoke.
Notes and References
"... The allusive texture is probably densest in the late Book of Joel, sometimes called the 'learned prophet,' who, though sedulous in his recreation of the old oral forms, must have composed his prophecies in writing toward the close of the Persian period (early fourth century B.C.E.). Like the authors of the two pseudonymous collections sometimes known as 'Second Zechariah' (Zechariah 9-14), Joel appeals to textual traditions in support of an eschatological vision which will supersede the theocratic reliance on ritual and law. His picture of the endtime, later adopted by the author of Acts for Peter's speech at Pentecost (Acts 2:1-21), includes a radical democratization of spiritual authority ... (Joel 2:28) Yet this very passage is itself heavily indebted to at least two literary models: Ezekiel's prediction of the outpouring of spirit upon the hause of Israel (Ezekiel 39:29), which also underlies the transition from the previous oracle (compare Joel 2:27 and Ezekiel 39:28), and Moses' defense of unauthorized prophecy in the Wilderness camp (Numbers 11:29) - a parodoxically mediated projection of unmediated experience ..."
Marks, Herbert "The Twelve Prophets" in Alter, Robert, and Frank Kermode (eds.) The Literary Guide to the Bible (pp. 207-233) Harvard University Press, 1987