Catholics take the biblical view.
James 2
20You foolish man, do you want evidence that faith without deeds is useless? 21Was not our ancestor Abraham considered righteous for what he did when he offered his son Isaac on the altar? 22You see that his faith and his actions were working together, and his faith was made complete by what he did. 23And the scripture was fulfilled that says, “Abraham believed God, and it was credited to him as righteousness,” and he was called God’s friend. 24You see that a person is justified by what he does and not by faith alone.
Romans 12
1Therefore, I urge you, brothers, in view of God’s mercy, to offer your bodies as living sacrifices, holy and pleasing to God—this is your spiritual act of worship. 2Do not conform any longer to the pattern of this world, but be transformed by the renewing of your mind. Then you will be able to test and approve what God’s will is—his good, pleasing and perfect will.
Gal 6
7Do not be deceived: God cannot be mocked. A man reaps what he sows. 8The one who sows to please his sinful nature, from that nature will reap destruction; the one who sows to please the Spirit, from the Spirit will reap eternal life. 9Let us not become weary in doing good, for at the proper time we will reap a harvest if we do not give up. 10Therefore, as we have opportunity, let us do good to all people, especially to those who belong to the family of believers.
Matt 7
24"Therefore everyone who hears these words of mine and puts them into practice is like a wise man who built his house on the rock. 25The rain came down, the streams rose, and the winds blew and beat against that house; yet it did not fall, because it had its foundation on the rock. 26But everyone who hears these words of mine and does not put them into practice is like a foolish man who built his house on sand. 27The rain came down, the streams rose, and the winds blew and beat against that house, and it fell with a great crash."