All desires can lead to states of clinging which by definition is dukkha (stress/suffering/dis-ease).
Therefore if the goal is freedom from dukkha then all desires *are* bad. However some happen to be useful.
Desires can be classified into two types:
- Type 1: Desires rooted in ignorance (of 4NTs), unwholesome/unskillful, mind obsesses with the target, is a craving, is about controlling
- Type 2: Desires rooted in knowledge (of 4NTs), wholesome/skillful, inclines mind & lets go, is an aspiration, is about relinquishing
Type 1 desires are not useful in the path. They make one endlessly transition from one state of dukkha to another
Type 2 desires are however useful in the path. They make one transition to skillful states of clinging (e.g. equanimity) from which its easy to let go of all desires and therefore all dukkha. AN 3.76 provides a super cool analogy.
It's best to not intellectualize this stuff and instead see them in action in an intensive course.