James writes about worldliness in a believer's life commanding followers of Christ to resist the devil which causes him to flee.  Also he touches on foolish boasting.