The Third Noble Truth says that removing desire will get rid of suffering. The cycle in which desire leads to suffering can be reversed, eventually resulting in nirvana.
The twelve-part theory of dependent origination (pratityasamutpada), in which each condition is shown to be dependent on other conditions, similarly addresses the causal relationship between desire and suffering