A PhD is a higher qualification than a masters degree, which in turn is a higher qualification than a Bachelors. However this does not mean that somebody with a poor Bachelors result and a Masters degree will always be in a better position than somebody with a good Bachelors degree. Employers will look at all your academic results before making their decision.