For the eyes of the Lord are on the righteous, And his ears open to their prayer; But the face of the Lord is against those who do evil."
So they were saved by the water or by the ark in the water. Even so, "Baptism," Peter says, "saves us." But then lest people make a mistake, he points out; it isn't the physical ritual.