Water baptism is an act of obedience. We are saved by grace THROUGH faith, not through obedience.
11 In Him you were also circumcised with the circumcision made without hands, by putting off the body of the sins of the flesh, by the circumcision of Christ, 12 buried with Him in baptism, in which you also were raised with Him through faith in the working of God,
Bold emphasis mine.
Faith should manifest in obedience
5 Through Him we have received grace and apostleship for obedience to the faith among all nations for His name,
26 but now made manifest, and by the prophetic Scriptures made known to all nations, according to the commandment of the everlasting God, for obedience to the faith—
- Show all