Rejoice greatly, O daughter of Zion, shout, O daughter of Jerusalem: beond, thy King cometh unto thee: he is just, and having salvation; lowly, and riding upon an ass, and upon a colt the foal of an ass.

See Luke 19: 38 - John 1: 9

Zechariah 9: 9 ( New International Version )

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.

Text Quoted in Spirit of Prophecy

Five hundred years before, the Lord had declared by the prophet Zechariah: "Rejoice greatly, O daughter of Zion; shout, O daughter of Jerusalem: behold, thy King cometh unto thee: He is just, and having salvation; lowly, and riding upon an ass, and upon a colt the foal of an ass." Zechariah 9:9. Had the disciples realized that Christ was going to judgment and to death, they could not have fulfilled this prophecy.Great Controversy, page 405.1