How does Christ fill the office of a prophet?

Question 24 of the Westminster Shorter Catechism asks, How does Christ fill the office of a prophet?

The answer given is, Christ fills the office of a prophet in revealing to us by his Word and Spirit the will of God for our
complete salvation.

The purpose of a prophet is to speak the words of the one who sent him. Many of the prophets ended their declaration with the words “says the LORD” or “declares the LORD.” The Old Testament prophets came on the scene with a message to the nation of Israel that was given to each prophet by God.

In John 14:9, Jesus made an astounding claim when he said, “He who has seen me has seen the Father.”

In Jesus, we have the ultimate prophet who reveals the words, actions and character of God the Father. Because Jesus is the eternal Son of God, he can perfectly reveal God the Father to us.

It is never a bad thing to point out that Jesus did not come with a message of judgement. As Jesus said to Nicodemus:

For God did not send his Son into the world to condemn the world, but to save the world through him. Anyone who believes in him is not condemned, but anyone who does not believe is already condemned, because he has not believed in the name of the one and only Son of God. This is the judgment: The light has come into the world, and people loved darkness rather than the light because their deeds were evil.

John 3:17–19 (CSB)

Jesus is the prophet who came to bring the light of God’s love and show us a way out of the darkness.