This neglects the bulk of Pauline doctrine dedicated to instructing Christians in righteous works: Romans 12-15; 1st Corinthians 6-8; Galatians 5; Ephesians 4-6; Colossians 3; 1st Thessalonians 4; 2nd Thessalonians 3; 1st Timothy 2; 5-6; 2nd Timothy 2-3; Titus 2-3; and even the Letter to Philemon, the entirety of which is an appeal to Philemon for good works on behalf of Onesimus for Paul’s sake!
Biblical theology is very careful to guard against the heresy of antinomianism:
James 2:14-26 (NET)  What good is it, my brothers and sisters, if someone claims to have faith but does not have works? Can this kind of faith save him?  If a brother or sister is poorly clothed and lacks daily food,  and one of you says to them, “Go in peace, keep warm and eat well,” but you do not give them what the body needs, what good is it?  So also faith, if it does not have works, is dead being by itself.  But someone will say, “You have faith and I have works.” Show me your faith without works and I will show you faith by my works.  You believe that God is one; well and good. Even the demons believe that – and tremble with fear.  But would you like evidence, you empty fellow, that faith without works is useless?  Was not Abraham our father justified by works when he offered Isaac his son on the altar?  You see that his faith was working together with his works and his faith was perfected by works.  And the scripture was fulfilled that says, “*Now Abraham believed God and it was counted to him for righteousness***,” and *he was called God’s friend*.  You see that a person is justified by works and not by faith alone.  And similarly, was not Rahab the prostitute also justified by works when she welcomed the messengers and sent them out by another way?  For just as the body without the spirit is dead, so also faith without works is dead.
No claim to salvation by faith is valid unless it is proved by the fruit of righteousness because righteousness is the “body” for the “spirit” of faith.
The answer to our question is that righteous works are the necessary fruit of salvation because faith without works is dead.