Paul confronts the foolish Galatians by asking them a series of questions in order to point them back to living by God’s grace.
Did you receive the Spirit by working for it or by believing in Jesus? What about Abraham? Was he made righteous by works or faith? Did God work miracles among you because you earned them or because you believed in Him?
And so Paul helps them see that “the righteous shall live by faith.”