For it is by grace you have been saved, through faith —and this is not from yourselves, it is the gift of God— 9 not by works, so that no one can boast. 10 For we are God’s handiwork, created in Christ Jesus to do good works, which God prepared in advance for us to do. (Ephesians 2:9-10)
Human beings cannot save themselves by their own good works. God has made it this way “so that no one can boast.” However, once we truly believe, God gives us the power to do good works.
The kind of works that are produced by true faith honor God. The so-called “good works” produced apart from true faith are meant to honor ourselves.