1 Peter 3:21

21 and this water symbolizes baptism that now saves you also—not the removal of dirt from the body but the pledge of a clear conscience toward God.a It saves you by the resurrection of Jesus Christ,

Read 1 Peter 3:21 Using Other Translations

The like figure whereunto even baptism doth also now save us (not the putting away of the filth of the flesh, but the answer of a good conscience toward God,) by the resurrection of Jesus Christ:
Baptism, which corresponds to this, now saves you, not as a removal of dirt from the body but as an appeal to God for a good conscience, through the resurrection of Jesus Christ,
And that water is a picture of baptism, which now saves you, not by removing dirt from your body, but as a response to God from a clean conscience. It is effective because of the resurrection of Jesus Christ.