Regarding temptation ... in the book of James it reads ...
"Never, when you are being put to the test, say, 'God is tempting me'; God cannot be tempted by evil, and he does not put anybody to the test. Everyone is put to the test by being attracted and seduced by that person's own wrong desire. Then the desire conceives and gives birth to sin, and when sin reaches full growth, it gives birth to death." (James 1:13-15, NJB)
The footnote in this Bible (New Jerusalem) states ...
See 1 Co 10:13f. One who allows himself to be drawn into evil must not blame the fault on God who cannot desire evil. Sin comes from within, Rm 7:8, and culminates in a state wholly opposed to the crown of life. v.12; Rm 6:23.
1 Corinthians 10:13 "None of the trials which have come upon you is more than a human being can stand. You can trust that God will not let you be put to the test beyond our strength, but with any trial will also provide a way out by enabling you to put up with it."
(Aside note: Mother Teresa said something like the following, "I know God will not put more on me than I can handle, but I wish He didn't think I was so strong.")
Back to footnotes ...
... testing is initiated by external circumstances, or by the Devil, the 'Tempter' (I Cor. 7:5) ... or by greed (I Tim 6:9) which gives the word the sense of a seduction, an attraction towards evil, over which, however, the faithful can triumph with God's help ....