That is true, but Jesus is more than a prophet. He is priest, prophet, and king.
He did come to deliver a message of repentance as a prophet, but he also came to offer himself as atonement for the sins of his people as their ultimate high priest, and rise from the dead conquering both his and our enemies to rule as king over all creation, to the joy of his people and fear for those outside of the covenant of God.