25 questioned him, “Why then do you baptize if you are not the Messiah, nor Elijah, nor the Prophet?”

Read John 1:25 Using Other Translations

And they asked him, and said unto him, Why baptizest thou then, if thou be not that Christ, nor Elias, neither that prophet?
They asked him, "Then why are you baptizing, if you are neither the Christ, nor Elijah, nor the Prophet?"
asked him, “If you aren’t the Messiah or Elijah or the Prophet, what right do you have to baptize?”

John 1:25 Inspirational Images