Jesus had to know early in His life that
God's plan for Him was in the scriptures.

The word reveals that He studied them
carefully. Even His continual speaking
of Moses and the prophets, what they
had said and had written was of great
importance to Him.
He knew what Isreal was expecting in
their Messiah 'an earthly king who would
lead them in this world' but that was not
what His Father had in mind.

His Father saw a world that was lost and
perishing needing a way back to himself.