Karika 45
वैराग्यात्प्रकृतिलयः संसारो भवति राजसाद्रागात्। ऐश्वर्यादविघातो विपर्ययात्तद्विपर्यासः ॥४५॥
From dispassion comes the dissolution of prakriti. By dwelling in social and family affairs comes the rajasic passion. The wealth results in non-obstruction while the contrary results in despair.
While dispassion is advocated and passion must be avoided, it is interesting to note how Sankhya advocates general wellbeing with the help of wealth.