When I do finally submit my manuscript to a publisher, I am going to submit it in the very best condition I can. I've worked too hard on it to do anything less.
Editors provide a valuable service, but if you're going to submit a manuscript to a publisher, you need to bear in mind that everything you'd be paying for now will be paid for
again by the publisher. If you don't have a very clear idea of what value you get out of an edit, don't pay for one.
For example, I don't see any value to pay for line edits if you'll be going through developmental edits with your publisher. That ends up being a vanity edit: your manuscript looks smoother. But from a quality point-of-view what's the profit, if you're going to re-write anyway?
Finally, the quality of a manuscript isn't a linear thing, since a lot of the decisions you make depend on taste. Your novel will look different depending on which editor you work with. Do you believe that working with different editors one after another will improve your novel every step of the way? Concretely:
(1) Author --> Editor1 ==> Novel
(2) Author --> Editor2 ==> Novel
(3) Author --> Editor1 --> Editor2 ==> Novel
Do you think that the novel produced by process (3) will always be better than the novles produced by processes (1) and (2)? If that's not always the case, under which conditions is it the case? I belief that if you can't answer that question, paying for an editor is probably a waste of money.
Of course, it's even more complicated, since to acquire editor1 you need mainly money, but to acquire editor2 you need to get past an acquistion editor. So there might be an anxiety-step inbetween: if I don't pay for editor1, I'll never get to editor2. Personally, I'd never hire an editor to be accepted. I'll have to work with the editor at the publisher, and they will have to wrok with me. The state of my script should tell them roughly what to expect.
Finally, you might want to pay an editor just to see what it's like to be edited. Going through the experience might train you to write more efficiently (from a business perspective).
To summarise: I think you need to know
exactly what you want out of an editor you're paying. Wanting your manuscript to be "better" is too vague. You're getting more value for your money if you can tell your editor what s/he's going to look out for.
Note that I've never really put much thought into publishing, since that's never been a priority for me.