Yes, Jesus was baptized by John the Baptist. He was baptized to fulfill all righteousness.
In the Bible, the book of Matthew tells the story of Jesus' baptism. John the Baptist was baptizing people in the Jordan River when Jesus approached him and asked to be baptized. John was hesitant, as he believed that Jesus was already the Messiah and did not need to be baptized by him. However, Jesus insisted, saying that it was necessary to fulfill all righteousness.
After Jesus was baptized, the heavens opened, and the Holy Spirit descended upon him in the form of a dove. A voice from heaven said, "This is my beloved Son, in whom I am well pleased." This event marks the beginning of Jesus' public ministry.
Therefore, the correct answer is "to fulfill all righteousness." Jesus' baptism was not to fulfill a prophecy specifically about him being baptized, nor was it for blessings or the descent of the Holy Spirit, although those things did happen as a result of his baptism.