is "loving yourself" really necessary?

warning -- there's a little rant up ahead here:

Advice like this is pretty common:
You have to love yourself before you can love anyone else.

But because I like to question everything, I started looking really closely at that recently, and I decided it's a bunch of crap.