In 1 Pet 3 we have this --
18 For Christ also died for sins once for all, the just for the unjust, so that He might bring us to God, having been put to death in the flesh, but made alive in the spirit; 19 in which also He went and made proclamation to the spirits now in prison, 20 who once were disobedient, when the patience of God kept waiting in the days of Noah, during the construction of the ark, in which a few, that is, eight persons, were brought safely through the water. 21 Corresponding to that, baptism now saves you—not the removal of dirt from the flesh, but an appeal to God for a good conscience—through the resurrection of Jesus Christ, 22 who is at the right hand of God,
Not the act of (sacramental) waters touching the flesh - (water baptism) - but rather " an appeal to God for a good conscience—through the resurrection "
Rom 10:9-10
9 that if you confess with your mouth Jesus as Lord, and believe in your heart that God raised Him from the dead, you will be saved; 10 for with the heart a person believes, resulting in righteousness, and with the mouth he confesses, resulting in salvation.