Though both (James and Rom) are of New Testament, but we have a very clear contradiction:

Are you justified by faith or work:


"because by the works of the Law no flesh will be justified in His sight . . . " (Rom. 3:20
"because by the works of the Law no flesh will be justified in His sight . . . " (Rom. 3:20)
"for we maintain that a man is justified by faith apart from works of the Law," (Rom. 3:28)
"For what does the Scripture say? ‘And Abraham believed God, and it was reckoned to him as righteousness'" (Rom. 4:3)
"Therefore, having been justified by faith . . . " (Rom. 5:1)
"But to the one who does not work, but believes in Him who justifies the ungodly, his faith is reckoned as righteousness" (Rom. 4:5).


In James it says,
"You see that a man is justified by works and not by faith alone," (James 2:24)
. . . so also faith without works is dead," (James 2:26).