तस्य पूर्वः पूर्वः श्रेयानुपसम्प्राप्तुम् ॥ कZ_०९.७.६१ ॥
tasya pūrvaḥ pūrvaḥ śreyān upasamprāptum
Within that triad, the earlier-listed aim is preferable to pursue first (priority runs from artha to dharma to kāma).
When trade-offs are unavoidable, prioritize artha (capacity/resources), then dharma (order/legitimacy), then kāma (welfare/pleasure).