The difference between a trial and a temptation is the difference between a test and a trap. A teacher (God) gives a test to allow you to demonstrate your excellence, whereas an enemy (Satan) sets a trap to harm you. God gives you an opportunity to do what is right. Satan gives you an opportunity to do what is wrong.