At his baptism Jesus identified with us. He fulfilled all righteousness. He kept God's law as our perfect substitute.