tad ity anabhisandhaya
phalam yajna-tapah-kriyah
dana-kriyas ca vividhah
kriyante moksa-kanksibhih
tatthat; itithey; anabhisandhayawithout fruitive result; phalamresult of sacrifice; yajnasacrifice; tapahpenance; kriyahactivities; danacharity; kriyahactivities; caalso; vividhahvarieties; kriyantedone; moksa-kanksibhihthose who actually desire liberation.
One should perform sacrifice, penance and charity with the word tat. The purpose of such transcendental activities is to get free from the material entanglement.
To be elevated to the spiritual position, one should not act for any material gain. Acts should be performed for the ultimate gain of being transferred to the spiritual kingdom, back to home, back to Godhead.

Link to this page: https://prabhupadabooks.com/bg/17/25

If you Love Me Distribute My Books -- Srila Prabhupada