I see no contradiction.....
John Baptist....Matt.3:7 ¶ But when he saw many of the Pharisees and Sadducees come to his baptism, he said unto them, O generation of vipers, who hath warned you to flee from the wrath to come?
8 Bring forth therefore fruits meet for repentance...
Jesus....Mt 21:41 They say unto him, He will miserably destroy those wicked men, and will let out his vineyard unto other husbandmen, which shall render him the fruits in their seasons.
Paul....1 Cor. 6:9 ¶ Know ye not that the unrighteous shall not inherit the kingdom of God? Be not deceived: neither fornicators, nor idolaters, nor adulterers, nor effeminate, nor abusers of themselves with mankind,
10 Nor thieves, nor covetous, nor drunkards, nor revilers, nor extortioners, shall inherit the kingdom of God....
Phil. 1:9 ¶ And this I pray, that your love may abound yet more and more in knowledge and in all judgment;
10 That ye may approve things that are excellent; that ye may be sincere and without offence till the day of Christ;
11 Being filled with the fruits of righteousness, which are by Jesus Christ, unto the glory and praise of God.
James...James 3:10 Out of the same mouth proceedeth blessing and cursing. My brethren, these things ought not so to be.
11 Doth a fountain send forth at the same place sweet water and bitter?
12 Can the fig tree, my brethren, bear olive berries? either a vine, figs? so can no fountain both yield salt water and fresh.
13 ¶ Who is a wise man and endued with knowledge among you? let him shew out of a good conversation his works with meekness of wisdom.
14 But if ye have bitter envying and strife in your hearts, glory not, and lie not against the truth.
15 This wisdom descendeth not from above, but is earthly, sensual, devilish.
16 For where envying and strife is, there is confusion and every evil work.
17 But the wisdom that is from above is first pure, then peaceable, gentle, and easy to be intreated, full of mercy and good fruits, without partiality, and without hypocrisy.
18 And the fruit of righteousness is sown in peace of them that make peace.
1 ¶ From whence come wars and fightings among you? come they not hence, even of your lusts that war in your members?
2 Ye lust, and have not: ye kill, and desire to have, and cannot obtain: ye fight and war, yet ye have not, because ye ask not.
3 Ye ask, and receive not, because ye ask amiss, that ye may consume it upon your lusts.
4 Ye adulterers and adulteresses, know ye not that the friendship of the world is enmity with God? whosoever therefore will be a friend of the world is the enemy of God.
John....1 John 3:5 And ye know that he was manifested to take away our sins; and in him is no sin.
6 Whosoever abideth in him sinneth not: whosoever sinneth hath not seen him, neither known him.
7 Little children, let no man deceive you: he that doeth righteousness is righteous, even as he is righteous.
8 He that committeth sin is of the devil; for the devil sinneth from the beginning. For this purpose the Son of God was manifested, that he might destroy the works of the devil.
9 Whosoever is born of God doth not commit sin; for his seed remaineth in him: and he cannot sin, because he is born of God.
10 In this the children of God are manifest, and the children of the devil: whosoever doeth not righteousness is not of God, neither he that loveth not his brother.
All the above writers agreed...the fruits of righteousness they spoke of were ACTS of righteousness...not a hollow belief...yet they also agreed that the motivation...the power...the capability to perform those acts, came from God through faith. This is what Paul referred to as righteousness by faith.