Mastering is a process of subtle enhancement in the interest of the creation of a reasonably consistent and compliant production master (hence, the name).
It's not a "make a bad sounding mix sound good" thing.
If you're not happy with your mixes, you're not going to be happy with it after the mastering process. You might be somewhat less unhappy - No doubt, it happens. But a bad mix is a bad mix.