Here is a sermon from Abp. Foley Beach that explains the Anglican view of baptism. Judas certainly was baptized and yet was not saved. The crucified thief was not baptized and yet was saved. Baptism is not the mechanism of salvation. Baptism is a sign, a passport of sorts, for admission into the Church. When we affirm that we repent of our sin and reject Satan in the baptismal rite, it's simply a repetition of something that has already happened in our hearts. For an unrepentant heart, the baptismal rite is empty and devoid of power (though even then God may work on the elect through the Holy Spirit to soften their hard hearts, and thus give the baptism a retrospective power). Why was Jesus baptized? He certainly was righteous already; he had no need of justification. Yet he was baptized by John the Baptist just the same -- as a model and a guide for the rest of us. He was baptized as a sign, an example to be followed. Were it really the signal salvific act, Jesus' baptism would be meaningless because he had no need of saving. He came to earth to save others from their sins, by grace through faith.