To me
James 4:1 From whence [come] wars and fightings among you? [come they] not hence, [even] of your lusts that war in your members?
James 4: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.
James 4:3 Ye ask, and receive not, because ye ask amiss, that ye may consume [it] upon your lusts.
James 4: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.
James 4:5 Do ye think that the scripture saith in vain, The spirit that dwelleth in us lusteth to envy?
These are all speaking of "coveting," lusting after what someone else has. Wars are the result of trying to take another county's resources by force,so it also touches on "greed". Where if our focus is on living for God and staying in His will,the opposite would be true. We would be "givers" instead of "takers". Frienship with the world,IMHO means loving the "THINGS" of this world more than God,and desiring them more than desiring to know, and be in God's will for our life.
James 4:3,I think means we often ask for our "wants" instead of our needs. We want to fulfill or gratify the lusts of our flesh.Such as desiring someone
who is already in a relationship with someone else,or desiring a certain material possession.