Impure longings and actions are rooted in unbelief - we doubt that God is good and that he is enough. We grasp for things that we think will bring happiness but that ultimately move us away from what we need. What we truly desire is a whole heart and it is possible to take a step in that direction.