Knowing how to be solitary is central to the art of loving. When we can be alone, we can be with others without using them as a means of escape.
Attribution checked
Quothly found supporting evidence for this attribution.
Snopes cites the line to bell hooks’ book All About Love: New Visions (1999) and documents its appearance there.
Snopes