Galatians 3:2
This only would I learn from you,—The churches generally had spiritual gifts bestowed on them to guide and instruct them until the revelation of God’s will was completed and collected for their guidance. These Galatians, I take it from what he says, had received these miraculous gifts.
Received ye the Spirit by the works of the law, or by the hearing of faith?—That is, through the provisions of the Jewish law or the faith in Jesus. It never occurred to Paul that the Spirit could be received through any other means than either the obedience to the Jewish law or by receiving the word of the Spirit into the heart. God has chosen the word as the means through which he works. It is the seed of the kingdom. The things addressed to the eyes of the heart (Ephesians 1:18), to be accepted and obeyed, constituted the hearing of faith. He knew they had received these gifts through obedience of the gospel.
Jesus said: “If ye love me, ye will keep my commandments. And I will pray the Father, and he shall give you another Comforter, that he may be with you for ever, even the Spirit of truth.” (John 14:15-17). The Holy Spirit was sent in the first place to the disciples who obeyed him and to none others, and the gifts and powers of the Spirit were distributed on the same conditions. Hence the question showed the folly of their course.