Which is why I don't include baptism in the 'boastful works' category of Ephesians 2 - which seems to be the most often cited passage attempting to prove that baptism is a work and therefore not necessary. As I cited before, even faith is defined as a work by Paul.
Is faith a gift from God?