However, that is not why Jesus was baptized; i.e., repentance. There were several reasons Jesus was baptized:John's Baptism was a baptism of REPENTANCE. Mat 3:11, Mark 1:4, Luke 3;3
1) to fulfill all righteousness - consecrating himself to God, whose approval was officially shown in the descent of the Holy Spirit and the words of the Father (Mt 3:16-17),
2) therein John publicly announced the arrival of the Messiah and beginning of his ministry (Jn 1:31-34),
3) identifying himself with man's sin and failure (not his own), becoming our substitute (2 Co 5:21) and
4) as an example to his followers (Mt 28:19).