Attachment is forbidden. Possession is forbidden. Compassion, which I would define as unconditional love, is central to a Jedi’s life.
Attachment to the material is detachment from the spiritual.
Attachment leads to jealousy. The shadow of greed that is.