John 1:29 The next day John seeth Jesus coming unto him, and saith, Behold the Lamb of God, which taketh away the sin of the world. 30 This is he of whom I said, After me cometh a man which is preferred before me: for he was before me.
They looked to John as the possible Messiah. He spoke truth, his message was powerful, he was hugely popular, his results were powerful.
But he told those who questioned him, "You've got the wrong man." "The One you are looking for is on the way, I am just paving the way."
As wonderful as John was, and he was as good as they come, in fact, Jesus said in Matt 11:11 that they didn't come any better, John needed a Savior too. When his cousin was coming to be baptized of him in the Jordan, he proclaimed, "Behold the Lamb of God, which taketh away the sin of the world." John was included in that number of sinners needing salvation. That's why he told the Lord that he had need to be baptized of Jesus.
The fact is, Jesus came to die for me, and He came to die for His cousin John also. Although John did die for Jesus under the hand of Herod, he trusted in what Jesus would do for him as his Messiah.
Speaking of Him dying for us and taking our place, please watch this to the end, you will be blessed.