The household of Cornelius.
Acts 10:42-48
42 And He commanded us to preach to the people, and to testify that it is He who was ordained by God to be Judge of the living and the dead.
43 To Him all the prophets witness that, through His name, whoever believes in Him will receive remission of sins.”
The Holy Spirit Falls on the Gentiles
44 While Peter was still speaking these words, the Holy Spirit fell upon all those who heard the word.
45 And those of the circumcision who believed were astonished, as many as came with Peter, because the gift of the Holy Spirit had been poured out on the Gentiles also.
46 For they heard them speak with tongues and magnify God.
Then Peter answered,
47 “Can anyone forbid water, that these should not be baptized who have received the Holy Spirit just as we have?”
48 And he commanded them to be baptized in the name of the Lord. Then they asked him to stay a few days.
Note v43. Those who believe in him will receive remission of sins.
Why?
Because sins were forgiven on the cross and appropriated to us as a result of faith.
Then we see in verse 47 they had already received the Holy Spirit before baptism.
Then they were baptised.
Acts 2:38
38 Then Peter said to them, “Repent, and let every one of you be baptized in the name of Jesus Christ for the remission of sins; and you shall receive the gift of the Holy Spirit.
The word for is "eis"
Wrong translation.
The intended meaning is
this context is either “because of” or “in regard to” and not “in order to get.