a strong feeling of wanting to have or to do something, especially something that is bad for youtemptation to do something: The temptation to gamble is great, so he stays at home.
give in/yield/succumb to (the) temptation (=get or do the thing that you want): She nearly gave in to the temptation to open the letter.
resist the temptation to do something: I will resist the temptation to go into detail here.