I found this to be a very interesting question, I hope I contribute to a deeper understanding of the subject.
Johns Baptism. The first human authorized by God to perform water baptism was John the son of Zechariah and Elizabeth. (Lu 1:5-7
5 In the days of Herod, king of Ju·de´a, there happened to be a certain priest named Zech·a·ri´ah of the division of A·bi´jah, and he had a wife from the daughters of Aaron, and her name was Elizabeth. 6 They both were righteous before God because of walking blamelessly in accord with all the commandments and legal requirements of Jehovah. 7 But they had no child, because Elizabeth was barren, and they both were well along in years.
57
The time now became due for Elizabeth to give birth, and she became mother to a son
The very fact that he was known as "John the Baptist" or "the baptizer" (Mt 3:1; Mr 1:4) implies that baptism or water immersion came to the attention of the people especially through John, and the Scriptures prove that his ministry and baptism came from God; they were not of Johns origin. His works were foretold by the angel Gabriel as from God (Lu 1:13-17
13 However, the angel said to him: "Have no fear, Zech·a·ri´ah, because your supplication has been favorably heard, and your wife Elizabeth will become mother to a son to you, and you are to call his name John. 14 And you will have joy and great gladness, and many will rejoice over his birth; 15 for he will be great before Jehovah. But he must drink no wine and strong drink at all, and he will be filled with holy spirit right from his mothers womb; 16 and many of the sons of Israel will he turn back to Jehovah their God. 17 Also, he will go before him with E·li´jahs spirit and power, to turn back the hearts of fathers to children and the disobedient ones to the practical wisdom of righteous ones, to get ready for Jehovah a prepared people."
and Zechariah prophesied by holy spirit that John would be a prophet of the Most High to make Jehovahs ways ready. (Lu 1:68-79
68 "Blessed be Jehovah the God of Israel, because he has turned his attention and performed deliverance toward his people. 69 And he has raised up a horn of salvation for us in the house of David his servant, 70 just as he, through the mouth of his holy prophets from of old, has spoken 71 of a salvation from our enemies and from the hand of all those hating us; 72 to perform the mercy in connection with our forefathers and to call to mind his holy covenant, 73 the oath that he swore to Abraham our forefather, 74 to grant us, after we have been rescued from the hands of enemies, the privilege of fearlessly rendering sacred service to him 75 with loyalty and righteousness before him all our days. 76 But as for you, young child, you will be called a prophet of the Most High, for you will go in advance before Jehovah to make his ways ready, 77 to give knowledge of salvation to his people by forgiveness of their sins, 78 because of the tender compassion of our God. With this [compassion] a daybreak will visit us from on high, 79 to give light to those sitting in darkness and deaths shadow, to direct our feet prosperously in the way of peace."
) Jesus confirmed that Johns ministry and baptism were from God. (Lu 7:26-28)
26 Really, then, what did YOU go out to see? A prophet? Yes, I tell YOU, and far more than a prophet. 27 This is he concerning whom it is written, Look! I am sending forth my messenger before your face, who will prepare your way ahead of you. 28 I tell YOU, Among those born of women there is none greater than John; but a person that is a lesser one in the kingdom of God is greater than he is.
The disciple Luke records that "Gods declaration came to John the son of Zechariah in the wilderness. So he came . . . preaching baptism." (Lu 3:2, 3) The apostle John states of him: "There arose a man that was sent forth as a representative of God: his name was John."Joh 1:6.
Further understanding of the meaning of Johns baptism is gained by comparing various translations of Luke 3:3. John came "preaching baptism in symbol of repentance for forgiveness of sins" (NW); "baptism conditioned on repentance" (CB); "baptism whereby men repented, to have their sins forgiven" (Kx); "baptism in token of repentance for the forgiveness of sins" (NE); "Turn away from your sins and be baptized, and God will forgive your sins" (TEV). These renderings make plain that the baptism did not wash away their sins, but the repentance and changing of their ways did, and of this, baptism was a symbol.
Jesus Baptism in Water. The baptism of Jesus himself as performed by John must of necessity have had a meaning and purpose quite different from Johns baptism, as Jesus "committed no sin, nor was deception found in his mouth." (1Pe 2:22) So he could not submit to an act symbolizing repentance. Undoubtedly it was for this reason that John objected to baptizing Jesus. But Jesus said: "Let it be, this time, for in that way it is suitable for us to carry out all that is righteous."Mt 3:13-15.
Luke states that Jesus was praying at the time of his baptism. (Lu 3:21) Further, the writer of the letter to the Hebrews says that when Jesus Christ came "into the world" (that is, not when he was born and could not read and say these words, but when he presented himself for baptism and began his ministry) he was saying, in accord with Psalm 40:6-8 (LXX): "Sacrifice and offering you did not want, but you prepared a body for me. . . . Look! I am come (in the roll of the book it is written about me) to do your will, O God." (Heb 10:5-9) Jesus was by birth a member of the Jewish nation, which nation was in a national covenant with God, namely, the Law covenant. (Ex 19:5-8; Ga 4:4) Jesus, by reason of this fact, was therefore already in a covenant relationship with Jehovah God when he thus presented himself to John for baptism. Jesus was there doing something more than what was required of him under the Law. He was presenting himself to his Father Jehovah to do his Fathers "will" with reference to the offering of his own "prepared" body and with regard to doing away with animal sacrifices that were offered according to the Law. The apostle Paul comments: "By the said will we have been sanctified through the offering of the body of Jesus Christ once for all time." (Heb 10:10) The Fathers will for Jesus also involved activity in connection with the Kingdom, and for this service too Jesus presented himself. (Lu 4:43; 17:20, 21) Jehovah accepted and acknowledged this presentation of his Son, anointing him with holy spirit and saying: "You are my Son, the beloved; I have approved you."Mr 1:9-11; Lu 3:21-23; Mt 3:13-17.