Peter said
So have you repented and have you been baptized and have you received the gift of the Holy Spirit?
(Act 2:38) Then Peter said unto them, Repent, and be baptized every one of you in the name of Jesus Christ for the remission of sins, and ye shall receive the gift of the Holy Ghost.
What does this verse mean?
1. Peter was preaching on the Day of Pentecost.
2. Those who were there were Jews, many of them the very Jews that had crucified Christ. This was an historic time with an elite crowd. It would never again happen in history. These factors must always be taken into consideration in "hermeneutics" that is the interpretation of Scripture.
Repentance was very necessary. They had just killed Christ. Many of them were murderers with the blood of Christ on their hands. Without repentance there is no salvation. Repentance for these Jews was a direct acknowledgement that the Christ they murdered was now their Messiah, their Lord. It was more than just a general repentance from all your sins (a concept not found in the NT). This was a specific repentance to murdering Christ. It was a specific reference to making Christ as Lord instead of considering him as a criminal.
Once they could do that they would be able to be baptized. Baptism always follows salvation, and is never part of it.
"for the remission of sins." This prepositon "for" is the Greek word "eis." It has many meanings. Let's see how it is used in Matthew in connection with John the Baptist.
(Mat 3:11) I indeed baptize you with water unto repentance:
The word "unto" is the same word "eis".
John castigated the Pharisees, saying "Bring forth fruits unto repentance.
He would not baptize them unless he saw the fruit of repentance. Repentance came first. John had to see the works, the fruit of that repentance, and only then would he baptize them. That is what is meant here "unto" or "on the basis of" repentance, "because of" repentance.
And so it is in Acts 2:38. "Be baptized "on the basis of" or "because of" "your sins having been remitted." Peter would never baptize anyone whose sins were not already remitted. Would Peter baptize a murderer who had not repented of murdering Christ? Of course not! So the verse does not mean what it appears to mean with a quick cursory reading. One must dig a bit further looking at the Greek meaning of the prepositions being used. One should look at the context, the people to whom Peter was preaching to. Only then do you find out the meaning of the verse.