Being justified by our works is a virtue. James said that we need to have the works after we have the faith, just as Abraham and Rahab did (2:14-26).
James also exhorted the believers not to stumble in word by bridling the tongue (3:1-12). Who can avoid stumbling in word? Often we regret that we spoke some words that stumbled others. The less we speak, the less mistakes we make. The more we speak, the more mistakes we make.
James tells us not to curse any man. Even if a man is very bad, very poor, we should not curse him, because he bears the likeness of God (3:9). But often after we bless the Lord, we may curse certain persons. If we honor God, we would not despise one who was made according to God's likeness. This is a virtue.
James exhorts us to behave in wisdom, showing a good manner of life in meekness, purity, peace, forbearance, compliance, mercy, impartiality, without jealousy, selfish ambition, boasting, lying, and hypocrisy (3:13-18).
We deal with pleasures, the world, and the devil by three things: by loving God, by the indwelling Spirit given by God, and by the grace given to the humble (James 4:1-10). No doubt, we can do this by the new man not by the old man.