Matthew concludes chapter three with an account of the baptism of Jesus. This is a significant event that marks the beginning of his ministry, and is punctuated with the voice of God declaring himself pleased.
Matthew has not mentioned Jesus since Joseph moved the family to Nazareth at the end of chapter two. Most of this third chapter has been focused on John the Baptist and his ministry preparing the way for Jesus to come. Luke gives a snapshot of the life of Jesus, when he was twelve years old, when he amazed the religious leaders with his wisdom, in Luke 2:41-52.
Now, John’s ministry wanes as Jesus begins the public part of his life, ultimately leading to the cross. During the time preceding this event, Jesus has worked with his earthly father, Joseph, as a carpenter in Nazareth. From that location, he probably had to walk seventy or eighty miles to the Jordan River to be baptized.
The baptism of Jesus is not an action that he performed as a result of John’s preaching. As far as we know, Jesus never heard John preach. No, this is an action prompted by the Father, which Jesus obeyed willingly.
John, however, was not as willing to perform this baptism, and tried to prevent it (verse 14). This suggests that John knew exactly who Jesus was, and realized that he should be the one being baptized instead.