Of course you too, together with them, your heart also gets captivated and syncs with empathy to their happiness and become happy thanks to their successes even though they might not be related directly to your own personal gains.
It is commonly used when listening to an achievement from a third party more than the one that is telling you about it than directly about themselves.
Some foreigners staying with host families like to give small gifts to their host mother as a sign of care and attention for all the things they have helped them while they have stayed in their care.