Here is what the bible teaches about baptism and salvation.
Baptism is required for salvation. Baptism is NOT a work nor just a ritual. Baptism is the way that God gives us the grace of Justification which is the beginning of our salvation.
John 3:5 5 Jesus answered, "I tell you the truth, no one can enter the kingdom of God unless he is born of water and the Spirit.
Rom 6:3-8 Or don’t you know that all of us who were baptized into Christ Jesus were baptized into his death? We were therefore buried with him through baptism into death in order that, just as Christ was raised from the dead through the glory of the Father, we too may live a new life. If we have been united with him like this in his death, we will certainly also be united with him in his resurrection. For we know that our old self was crucified with him so that the body of sin might be done away with, that we should no longer be slaves to sin-- because anyone who has died has been freed from sin.
Now if we died with Christ, we believe that we will also live with him.
Mark 16:16 Whoever believes and is baptized will be saved, but whoever does not believe will be condemned.
Gal 3:26,27 You are all sons of God through faith in Christ Jesus, for all of you who were baptized into Christ have clothed yourselves with Christ.
1 Pet 3:21 Baptism now saves you.
**Ti 3:5 **he saved us, not because of righteous things we had done, but because of his mercy. He saved us through the washing of rebirth and renewal by the Holy Spirit,
**1 Cor 6:11 11 And that is what some of you were. But you were washed, you were sanctified, you were justified in the name of the Lord Jesus Christ and by the Spirit of our God. **
Acts 2:38; 22:16
38 Peter replied, "Repent and be baptized, every one of you, in the name of Jesus Christ for the forgiveness of your sins. And you will receive the gift of the Holy Spirit.
16 And now what are you waiting for? Get up, be baptized and wash your sins away, calling on his name.’
Eph 5:26 25 Husbands, love your wives, just as Christ loved the church and gave himself up for her 26 to make her holy, cleansing her by the washing with water through the word,