Loving without being attached

And I did not love myself for a long long time. I wasted my energies and I was attached to a lot of things. I was taught to detach. From every thing. From people, from life, from seasons, from results, from rewards. Detachment does not mean not loving them. It is loving them with your full heart but not being concerned with the out come or the will to stay with them forever.