In Luke 7:19 we read:
So John called two of hisdisciples and sent them to ask the Lord, “AreYou the One who was to come, or should we look for someone else?”
In John 1:32-34 we read:
Then John gave this testimony: “I saw the Spirit come down from heaven as a dove and remain on him. And I myself did not know him, but the one who sent me to baptize with water told me, ‘The man on whom you see the Spirit come down and remain is the one who will baptize with the Holy Spirit.’ I have seen and I testify that this is God’s Chosen One.”
This shows John Gospel writer has no idea about what John the Baptist had already admitted in public which means this gospel writer was just creating stories. If John 1:32-34 were true, then what Luke reported would not happen.