Chapter 7 of the Gita is an interesting one.
In verse 20-22, the Lord says that spiritual seekers can worship various deities. By following the specific rules related to these deities, they will get what they desire.
Then in verse 23, He mentions the words antavattu phalam. Anta is end and Phal is fruit. Taken together, the words refer to perishable desires.
The Lord is trying to convey only one simple truth here. That we should not be running after material desires. Why? Because they are perishable! Would you want to buy a shiny new sports car that you know would be junk in a year?
The 3 core components of life = vyakti, vastu, paristhithi = people, things and situations – all of these are perishable, and yet our desires only revolve around these.
What should we desire that is permanent then? Spiritual growth to reach the Lord.