Interesting seeing that the following verse GOD himself says BELIEF is a work.
John 6:29 Jesus replied, “The work of God is this: to believe in the One He has sent.” In this verse Jesus clearly defines Belief (Faith) in Christ as a work and God is the person doing the work.
RE:
Romans 4:5 But to him that worketh not, but believeth on him that justifieth the ungodly, his faith is counted for righteousness. The reason it says that the person does not work is, as John 6:29 points out, it is God doing the work of causing a person to believe.
Conflict of 2 verses solved.