The rich man has a false profession, which Jesus revealed by telling him to forsake the world and follow him, which he refused.
Faith is revealed by fruit, but fruit is not the door to heaven; faith is.
James taught about false faith.
Paul taught about true faith.
You can't ignore Paul, you must...