The practice of the Dhamma is a powerful protection that comes about by wholeheartedly applying mindfulness, the four protective meditations, restraint, virtue, going for refuge, patience, or the parittas.
Instead of being at the mercy of desire and attachment we need to understand the sticky nature of every form of desire – and then to weaken and abandon it. Besides using mindfulness there are a number of approaches to skilfully deal with desire.
Mindfulness is an indispensable quality for our practice of vipassana meditation. It is the foundation upon which all the other beautiful and necessary qualities for insight to arise can unfold.