"When tempted, no one should say, "God is tempting me." For God cannot be tempted by evil, nor does he tempt anyone; but each person is tempted when they are dragged away by their own evil desire and enticed."
James 1:13-14 NIV
http://bible.com/111/jas.1.13-14.niv