That is incorrect and precisely why I included the below verse in my prior post - to make that distinction clear. However, the Holy Spirit
is given (they become indwelt) WHEN someone becomes saved - and from/because of that, and only from/because of that, is spiritual understanding acquired. It is you who is saying that spiritual understand PRECEDES being saved.
[1Co 1:2 KJV] 2 Unto the church of God which is at Corinth, to them that are sanctified in Christ Jesus, called [to be] saints, with all that in every place call upon the name of Jesus Christ our Lord, both theirs and ours: