Romans 3:20-22
This is because no human being can be considered right with God by [obeying] the requirements of a law. [Note: It is difficult to determine the exact sense in which "law" is used in these verses. It may be law generally, or the law of Moses specifically. See Bruce, pages 52-58]. For the knowledge of what sin is comes from the law of Moses.
Romans 4:6-8
Even King David also spoke of the blessing experienced by the person who was considered righteous by God apart from doing good deeds.
Revelation 3:17-18
For you are saying, 'I am wealthy; I have made plenty of money and do not need anything.' But you do not know that you are [spiritually] wretched and miserable and poor and blind and naked.