Passage
And Peter said to them, “Repent, and each of you be baptized in the name of Jesus Christ for the forgiveness of your sins; and you will receive the gift of the Holy Spirit.
And Peter said to them, “Repent, and each of you be baptized in the name of Jesus Christ for the forgiveness of your sins; and you will receive the gift of the Holy Spirit.
Acts 2:36 Therefore let all the house of Israel know for certain that God has made Him both Lord and Christ—this Jesus whom you crucified.”
Acts 2:37 Now when they heard this, they were pierced to the heart, and said to Peter and the rest of the apostles, “Men, brothers, what should we do?”
Acts 2:38 And Peter said to them, “Repent, and each of you be baptized in the name of Jesus Christ for the forgiveness of your sins; and you will receive the gift of the Holy Spirit.
Acts 2:39 For the promise is for you and your children and for all who are far off, as many as the Lord our God will call to Himself.”
Acts 2:40 And with many other words he solemnly bore witness and kept on exhorting them, saying, “Be saved from this crooked generation!”
The verse centers on "Spirit", "peter", "said", "repent", "each", "baptized", "name", and "jesus". It is saying that the verse draws attention to "Spirit" and "peter", so its meaning should be read from those terms before moving to application.
The nearby context moves from verse 37's "Now when they heard this they were..." into verse 39's "For the promise is for you and...", so "Spirit" and "peter" belong inside that flow. In Acts context, the local focus is Christ, faith, and discipleship.
A plain takeaway is to answer the verse's own emphasis on "Spirit" and "peter" with trust shaped by these words, not by a vague optimism outside the passage.