Zechariah 9:9
Rejoice greatly, O Daughter of Zion! Shout, Daughter of Jerusalem! See, your king comes to you, righteous and having salvation, gentle and riding on a donkey, on a colt, the foal of a donkey.

John 12:14-16

Jesus found a young donkey and sat upon it, as it is written,
“Do not be afraid, O Daughter of Zion;
see, your king is coming,
seated on a donkey’s colt.

At first his disciples did not understand all this. Only after Jesus was glorified did they realize that these things had been written about him and that they had done these things to him.