IMO,
Mark 16:16 Whoever believes and is baptized will be saved, but whoever does not believe will be condemned.
Acts 2: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.
1 Peter 3:21 Corresponding to that, baptism now saves you— not the removal of dirt from the flesh, but an appeal to God [
a]for a good conscience—through the resurrection of Jesus Christ,
Galatians 3:26 For you are all sons of God through faith in Christ Jesus. 27 For all of you who were baptized into Christ have clothed yourselves with Christ.
In short, I see the purpose of batism as forgiveness of sins/savlation, receiving the gift of the Holy Spirit, and for a good conscience.