We all have hidden agendas in almost everything we do.
If we are doing the charity, the known agenda could help someone, and the hidden agenda could be to earn fame. Likewise, if we are promoting someone out of the way in the social group, the known agenda could be that you wish well for the person, and the hidden agenda could be to earn the favor from the person in return.
Most of the time, we aren’t even aware that we have a hidden agenda. Having hidden agenda is okay. The only thing is, your hidden agenda shouldn’t topple your known agenda.