What does John 1:31 mean?
Given that the mothers of Jesus and John the Baptist were relatives (Luke 1:35–36, 39–41), it may seem odd for John to say he didn't recognize Jesus as Messiah at first. He had simply been baptizing, so that Christ would be revealed to Israel (Malachi 3:1). Although the Baptist and Jesus were related, and the Baptist had responded to the presence of Jesus while in the womb, they probably hadn't spent much time around each other. One was raised in Nazareth, the other near Jerusalem.Since Jesus hadn't yet performed any miracles, it's reasonable to think that the Baptist didn't know Jesus was the Messiah until seeing the vision of the dove (John 1:32). This is part of the mystery of Jesus' youth: the Bible doesn't give many details about Jesus prior to the start of His ministry.
The word used for "baptism" is the Greek baptizō, which literally means "to immerse," but with a specific spiritual context. John's purpose in calling people to repentance, demonstrated by baptism, was to open the path of understanding for Jesus. Once Christ appeared on the stage, it was time for the Baptist to step aside.
John 1:29–42 describes more conversations, these between John the Baptist, his disciples, and Jesus. It includes the moment Jesus recruits His first two disciples. Jesus is identified as "the Lamb of God," and "the Son of God." The Baptist describes his vision of the Holy Spirit, in the form of a dove, landing on Jesus. This confirms that He is the Messiah. The Baptist seems to tell John and Andrew to go and follow Jesus. They, in turn, introduce Jesus to Peter.
The first chapter of John introduces Jesus as "the Word," from the Greek logos. This chapter clearly describes Jesus as God. After this prologue, the chapter describes Jesus recruiting the first of His disciples, as well as a conversation between John the Baptist and the Pharisees. There are seven names or titles for Christ in this chapter, including "the Son of God," "the Word," and "the King of Israel."