Understanding temptation is the first step towards resisting it.