Temptation is the enticement to sin and is rooted in our own evil desire. While the devil serves as a source of temptation, the decision to indulge in our desires is internally conceived. Acting on temptation is an ‘inside job’ and so we are to be vigilant against its enticement.
James 1:12-27 ESV
12 Blessed is the man who remains steadfast under trial, for when he has stood the test he will receive the crown of life, which God has promised to those who love him. 13 Let no one say when he is tempted, “I am being tempted by God,” for God cannot be tempted with evil, and he himself tempts no one. 14 But each person is tempted when he is lured and enticed by his own desire. 15 Then desire when it has conceived gives birth to sin, and sin when it is fully grown brings forth death.
16 Do not be deceived, my beloved brothers. 17 Every good gift and every perfect gift is from above, coming down from the Father of lights, with whom there is no variation or shadow due to change.[a] 18 Of his own will he brought us forth by the word of truth, that we should be a kind of firstfruits of his creatures.
Hearing and Doing the Word
19 Know this, my beloved brothers: let every person be quick to hear, slow to speak, slow to anger; 20 for the anger of man does not produce the righteousness of God. 21 Therefore put away all filthiness and rampant wickedness and receive with meekness the implanted word, which is able to save your souls.
22 But be doers of the word, and not hearers only, deceiving yourselves. 23 For if anyone is a hearer of the word and not a doer, he is like a man who looks intently at his natural face in a mirror. 24 For he looks at himself and goes away and at once forgets what he was like. 25 But the one who looks into the perfect law, the law of liberty, and perseveres, being no hearer who forgets but a doer who acts, he will be blessed in his doing.
26 If anyone thinks he is religious and does not bridle his tongue but deceives his heart, this person’s religion is worthless. 27 Religion that is pure and undefiled before God the Father is this: to visit orphans and widows in their affliction, and to keep oneself unstained from the world.