To heed such advice you must first understand its implied meaning.
There is an understanding that you fully love yourself therefore you will give the same love to your neighbor.
Sage advice if you love yourself compassionately, honestly, tenderly, and fully. However, if you eat, sleep, and breathe with an empty cup of love…loving your neighbor as yourself…will not a love-fest make?
If you want to be a good neighbor you must first be a good you. To be a good you, you must treat yourself the way you would a precious loved one. When you treat you with the highest respect, love, and honor, you will naturally treat your neighbor with the highest respect, love and honor.
Go ahead and love your neighbor as you love yourself, as long as, you genuinely love yourself.