Temptation is an appeal to think or do something contrary to God's law. We are drawn away from truth, virtue, and God's standard of righteousness.
In this context, desires are forces of attraction in the wrong direction: We long for it, crave it, covet it, want it. We are enticed or attracted when we are offered hope of reward or pleasure (e.g., food, drink, sex, money, drugs, entertainment).
The verbs "drawn away" and "enticed" derive from the activities of fishing and hunting. "Enticed" usually describes the drawing of fish out of their original retreat. We are tantalized, as fish are with bait. What is on the end of a fishing line? A LURE! James pictures man's desire first attracting his attention and persuading him to approach the forbidden thing, and second, luring him by means of bait to yield to the temptation.
Another analogy that illustrates the force of enticement is that of a magnet. If one places a small piece of iron close to a magnet, invisible forces reach out from the magnet to attract the iron. By moving the piece of iron a little closer, the attraction intensifies. Nudge the iron still closer, and the magnet will draw it all the way to itself. The closer one moves to a desired thing or the more one's interest grows, the greater and greater the pull becomes.
Who does the luring and enticing? Who does the tempting? Paul calls Satan "the Tempter" in I Thessalonians 3:5: "The tempter had tempted you." "Tempter" is the present participle of the Greek word peirazo, which basically means "to tempt." When preceded by an article, it literally means "the (one) tempting." Satan uses temptation to entice us into sin (Matthew 4:1). James 4:7 says, "Therefore submit to God. Resist the devil and he will flee from you." Following Christ's example in Matthew 4:1-11, we should strongly resist the temptations of Satan, causing him to flee from us.
Martin G. Collins
How Does Temptation Relate to Sin?