the sentence is not using good grammar. Sometimes words are dropped when being very casual.
You would be better off alone than to remain with someone who is making you unhappy.
To explain the phrase "Better off" on its own, I'd say better off means being well cared for, well fed, and/or to have your needs met.