Vedas are revelations of ancient rishis. They are mantric in style and multiple layered in meaning. Each verse contains meaning for different levels of awareness.The four goals of life according to the Vedas: They are dharma, artha, kama and moksha. The Word dharma has many meanings and one of them is a purpose of purusha's incarnation on material level.
Artha has general meaning for material resources acquired for fulfilling of dharma and (optionally) kama and moksha. Kama means desire (based on attraction) to experience enjoyment. Moksha means liberation from bondage of material manifestation and has different meaning in different yogic and philosophical traditions. Each mystic school claims that it's methods lead to a final liberation, while others leads only to an inferior levels or realizations.