You don't have to be baptized to be saved. There are many people who become saved and because of a situation like a health issue, for example, have no opportunity to be baptized. The thief on the cross with Jesus certainly did not have an opportunity to be baptized, yet Jesus told him that he would be with him in paradise that day -- he became saved at that moment regardless of the lack of baptism.
Acts 1:4-6 (New International Version)
4 On one occasion, while he was eating with them, he gave them this command: "Do not leave Jerusalem, but wait for the gift my Father promised, which you have heard me speak about. 5 For John baptized with water, but in a few days you will be baptized with the Holy Spirit."
Baptism is an act of obedience. It's a public recognition that we are sinners and are accepting our salvation from Jesus. There is a spiritual baptism that occurs upon salvation - at the moment we believe - and a water baptism that is symbolic and an act of obedience.
Mark 16:15-17 (New International Version)
15 He said to them, "Go into all the world and preach the good news to all creation. 16 Whoever believes and is baptized will be saved, but whoever does not believe will be condemned.
It does not say that whoever "does not believe and is not baptized" will be condemned. It says that whoever does not believe will be condemned.
Acts 8:15-17 (New International Version)
15 When they arrived, they prayed for them that they might receive the Holy Spirit, 16 because the Holy Spirit had not yet come upon any of them; they had simply been baptized into the name of the Lord Jesus. 17 Then Peter and John placed their hands on them, and they received the Holy Spirit.
You can be baptized and not be saved -- if you are baptized in name only, without belief, you have received a water baptism that is symbolic of nothing because it was without belief. Salvation comes with belief.
Acts 10:46-48 (New International Version)
46 For they heard them speaking in tongues and praising God.
Then Peter said, 47 "Can anyone keep these people from being baptized with water? They have received the Holy Spirit just as we have." 48 So he ordered that they be baptized in the name of Jesus Christ. Then they asked Peter to stay with them for a few days.
These people in Acts were saved and had not yet been baptized. They had received the Holy Spirit, which only happens upon salvation -- but they had not been baptized with water yet. Salvation and baptism are two separate events.