You’re ignoring the plain statements of other passages on baptism and salvation.
Acts Chapter 2:38: And Peter said to them, "Repent, and be baptized every one of you in the name of Jesus Christ for the forgiveness of your sins; and you shall receive the gift of the Holy Spirit.
Acts Chapter 22:16: And now why do you wait? Rise and be baptized, and wash away your sins, calling on his name.’
“And now why do you delay? Arise, and be baptized, and wash away your sins, calling on His name.” Some have mistakenly sought support for baptismal regeneration (the false teaching that baptism is required for salvation) in this verse. Although baptism is an act of obedience required of all Christians, it does not save. Paul understood that clearly. To the Romans he wrote:
[This is] the word of faith which we are preaching, that if you confess with your mouth Jesus as Lord, and believe in your heart that God raised Him from the dead, you shall be saved; for with the heart man believes, resulting in righteousness, and with the mouth he confesses, resulting in salvation. (Rom. 10:8–10)
Paul preached that salvation came from belief in the heart (cf. Acts 16:31; Rom. 3:28) and public confession of that faith (cf. Matt. 10:32; Rom. 10:13). Obviously, he did not understand Ananias’s words to mean that baptism saves.
Acts 10:44–48 clearly reveals the relationship of baptism to salvation. It was only after Cornelius and his friends had received the Holy Spirit (giving evidence that they were saved) that Peter ordered them baptized (10:47). Baptism thus follows salvation and does not cause it. (For further discussion of baptismal regeneration, see MacArthur, Acts 1–12, 73–75).
Ananias’s words in verse 16, when properly understood, are in full agreement with the New Testament teaching that salvation is by faith alone. The phrase wash away your sins must be connected with calling on His name, since connecting it with be baptized leaves the participle epikalesamenos (calling) without an antecedent. Paul’s sins were washed away not by baptism but by calling on the name of the Lord (cf. Rom. 10:13). A literal translation of the verse says, “Arise, get yourself baptized and your sins washed away, having called on His name.” Both imperatives reflect the reality that Paul had already called on the Lord’s name, which is the act that saves. Baptism and the washing away of sins follow.
MacArthur, John: Acts. Chicago : Moody Press, 1994, c1996
Remember…
1 Peter 3:21 The like figure whereunto even baptism doth also now save us (not the putting away of the filth of the flesh, but the answer of a good conscience toward God,) by the resurrection of Jesus Christ:
Also…
Galatians 3:2 This only would I learn of you, Received ye the Spirit by the works of the law, or by the hearing of faith?
I never said baptism was part of Moses’ law…but this shows that receiving the Spirit is by the hearing of faith…
Romans 10 clearly explains this apart from baptism.
Signed…JUSTIFIED!! And then baptized!
Romans 5:1 Therefore, having been justified by faith, we have peace with God through our Lord Jesus Christ,