When the Evangelist says, as it is written, Fear not, daughter of Zion! he cites the prophesy which was written in Zechariah (9:9). First, he reassures them; secondly, he promises a kingly majesty; and thirdly, he adds the benefit which the king will bring.
He reassures them when he says, Fear not, daughter of Zion. Zion was the fortress in Jerusalem where the king lived. The daughter of Zion, therefore, would be the people of Jerusalem and of Judea who were subject to the king of Jerusalem. Thus the Jews are being told, Fear not, because the Lord is your defender: "Who are you that you are a...fraid of man who dies, of the son of man who is made like grass?" (Is 51:12); "The Lord is the defender of my life; of whom shall I be afraid?" (Ps 27:1). Here the Evangelist is driving out their worldly and servile fear.
He promises them a kingly majesty, saying, behold, your king is coming: "For to us a son is given" (Is 9:6); "Upon the throne of David, and over his kingdom" (9:7). He says, your king, that means, taking flesh from you, for "It is not with angels that he is concerned, but with the descendants of Abraham" (Heb 2:16). Again, your king, that is, for your benefit. Thus he adds, is coming, to you: "Would that even today you knew the things that make for peace! But now they are hid from your eyes" (Lk 19:42). But when they resisted, they hindered their own good.
The king comes to you, I say, not to harm you, but to set you free; thus he adds, sitting on an ass's colt! This signifies the mercy of the king, which is most welcome to his subjects: "His throne is upheld by mercy" (Prv 20:28). This is just the opposite to "A king's wrath is like the growling of a lion" (Prv 19:12). He is saying in effect: He is not coming as a haughty king - which would make him hateful - but with gentleness: "If they make you master of the feast, do not exalt yourself" (Sir 32:1). Therefore, have no fear that the king will oppress you. Now the Old Law was given in fear, because the Law produced slaves. This phrase also signifies the power of the king, because by coming with humility and in weakness he attracted the entire world: "The weakness of God is stronger than men" (1 Cor 1:25).
Source: Commentary on John