The basic meaning of temptation is simply to test or prove, and has no negative connotation. Whether it becomes a proof of righteousness or an inducement to evil depends on our response. If we resist it in God's power, it is a test that proves our faithfulness. If we do not resist, it becomes a solicitation to sin. The Bible uses the term in both ways.