The goal is to get to a situation where you don't need to do anything - nothing .. This state is called " naiṣhkarmyaṁ"
#Gita says - you cant get to this state without starting your `Karma` .. Even renunciation (sannyasanād) wouldn't get you to this state ...
न कर्मणामनारम्भान्नैष्कर्म्यं पुरुषोऽश्नुते |
न च संन्यसनादेव सिद्धिं समधिगच्छति || 4||
na karmaṇām anārambhān naiṣhkarmyaṁ puruṣho ’śhnute
na cha sannyasanād eva siddhiṁ samadhigachchhati
The purpose of actiions is to become actionless ...