If you feel you want to do something or have something, even though you know you really should avoid it, you can refer to this feeling as temptation. You can also refer to the thing you want to do or have as a temptation.
双语例句
例: Will they be able to resist the temptation to buy?
他们能抵抗得住购买的诱惑吗?