The Bible makes it very clear. To inherit eternal life we don't have to work for it. It's 'inherited', - i.e. FREE! To inherit eternal life, God requires only three things. Luke 10:25-28
The Bible says this. "Teacher," he asked, "what must I do to inherit eternal life?" "What is written in the Law?" he replied. "How do you read it?" He answered: "'Love the Lord your God with all your heart and with all your soul and with all your strength and with all your mind'; and, 'Love your neighbor as yourself.'" "You have answered correctly," Jesus replied. "Do this and you will live." Luke 10:25-28
For all practical purposes, based on what the Bible says, loving ourselves should come before loving our neighbors. The Bible says we should love our neighbors 'as we love ourself'. This means the more we love ourselves, the more we can love our neighbors.
If we are unhappy, or if we don't accept and love ourselves, how can we love those around us? We can't give what we don't have. On the other hand when we feel loved, accepted, and happy, it's easy to give out of our abundance.