John’s Gospel: Lamb

Since the baptism of John was an act of repentance, why did Jesus, who had no sins, submit to John’s ritual?