Chovos Halevavos vs. Mesilas Yesharim

which book should a beginner focus on and why?

what about someone more advanced?