Jesus wanted to demonstrate the importance of baptism by being baptized. He needed someone willing to be part of his plan. He sought out John to baptize him. John complied. As a result Jesus was glorified. 
What has the Lord asked you to take on as part of his plan? Answer yes to glorify your God.