Jesus spoke these words to Cleopas and his wife, both of whom were travelling back home to Emmaus.
Jesus came alongside them while they were talking, but His identity remained concealed from them at the time. He listened to them talk about Jesus, and how they believed that He would restore the greatness of Israel:
"21But we trusted that it had been he which should have redeemed Israel: and beside all this, to day is the third day since these things were done." (Luke 24:21)
Israel was the most important thing on Cleopas' mind. For God, He is interested in far more than the political redemption of Israel.
Jesus then poured through the Scriptures and taught them everything concerning Himself.
Jesus did not come to be a means to an end. He is the beginning, the middle, and the end:
"Remember the former things of old: for I am God, and there is none else; I am God, and there is none like me,
"Declaring the end from the beginning, and from ancient times the things that are not yet done, saying, My counsel shall stand, and I will do all my pleasure:" (Isaiah 46: 9-10)
Everything is about Jesus. He is not a means to a different. He is everything that we want and need.
"Jesus saith unto him, I am the way, the truth, and the life: no man cometh unto the Father, but by me." (John 14:6)
"15[Jesus] is the image of the invisible God, the firstborn of every creature: 16For by him were all things created, that are in heaven, and that are in earth, visible and invisible, whether they be thrones, or dominions, or principalities, or powers: all things were created by him, and for him: 17And he is before all things, and by him all things consist." (Colossians 1:15-17)
Everything that exists was made by Jesus, and for Him. Everything that exists is held together by Him, as well.
Jesus is fully God, and fully man, and no one can dispute that. He is not a part of the story. He is the story.
"Jesus Christ the same yesterday, and to day, and for ever." (Hebrews 13:8)
Jesus is not a means to an end. He is the Beginning and the End!