My understanding is that desire itself isn't harmful. It's when these desires have power over us and create unhealthy yearning. For instance, being homeless and wanting a home should be fine. But having a home and constantly yearning for a better and better one is unhealthy attachment.