Galatians 3:4-6 Amplified Bible, Classic Edition (AMPC)
4 Have you suffered so many things and experienced so much all for nothing (to no purpose)—if it really is to no purpose and in vain?
5 Then does He Who supplies you with His marvelous [Holy] Spirit and works powerfully and miraculously among you do so on [the grounds of your doing] what the Law demands, or because of your believing in and adhering to and trusting in and relying on the message that you heard?
6 Thus Abraham believed in and adhered to and trusted in and relied on God, and it was reckoned and placed to his account and credited as righteousness (as conformity to the divine will in purpose, thought, and action).
Galatians 3:4-6 New International Version (NIV)
4 Have you experienced[a] so much in vain—if it really was in vain? 5 So again I ask, does God give you his Spirit and work miracles among you by the works of the law, or by your believing what you heard? 6 So also Abraham “believed God, and it was credited to him as righteousness.”[b]