why was Jesus baptized? and what happened
Matthew 3:15 But Jesus answering said to him, "Permit
it at this time; for in this way it is fitting for us to fulfill all righteousness." Then he *permitted Him.
Jesus came to live as a man and in doing he was doing what is required of to please God he was our example even though he need not to be baptized he did because it was a requirement fro man,
What happened Matthew 3:16,17 answers it
16 After being baptized, Jesus came up immediately from the water; and behold, the heavens were opened, and he saw the Spirit of God descending as a dove
and lighting on Him, 17 and behold, a voice out of the heavens said, "This is My beloved Son, in whom I am well-pleased."
God declared to the world that Jesus was his son