Zechariah 2:6
5 But I,’ the Lord says, ‘will be a wall of fire surrounding Jerusalem and the source of glory in her midst.’” 6 “You there! Flee from the northland!” says the Lord, “for like the four winds of heaven I have scattered you,” says the Lord. 7 “Escape, Zion, you who live among the Babylonians!” 8 For the Lord of Heaven’s Armies says: “For his own glory he has sent me to the nations that plundered you—for anyone who touches you touches the pupil of his eye. 9 Yes, look here, I am about to punish them so that they will be looted by their own slaves.” Then you will know that the Lord of Heaven’s Armies has sent me. 10 “Sing out and be happy, Zion my daughter! For look, I have come; I will settle in your midst,” says the Lord.
Mark 13:27
24 “But in those days, after that suffering, the sun will be darkened and the moon will not give its light; 25 the stars will be falling from heaven, and the powers in the heavens will be shaken. 26 Then everyone will see the Son of Man arriving in the clouds with great power and glory. 27 Then he will send angels and they will gather his elect from the four winds, from the ends of the earth to the ends of heaven. 28 “Learn this parable from the fig tree: Whenever its branch becomes tender and puts out its leaves, you know that summer is near. 29 So also you, when you see these things happening, know that he is near, right at the door. 30 I tell you the truth, this generation will not pass away until all these things take place.
Notes and References
"... Scholars commonly attribute the “gathering from the four winds and from the corners of the earth/heaven” either to Zechariah 2:10, or a combination of it with Deuteronomy 30:4. As others have argued, Zechariah 2:10 should be considered a prominent allusion in Mark 13:27, for it contains all the ideas conveyed in Mark, yet with more lexical and thematic parallels than other potential sources. A comparison of the pertinent material will serve well ..."
Sloan, Paul Mark 13 and the Return of the Shepherd: The Narrative Logic of Zechariah in Mark (p. 201) T&T Clark, 2019