The Sheffield United forward made the remarks after Ghana recorded back-to-back victories over Somalia in their 2027 Africa Cup of Nations qualifying campaign.
Ayew scored the decisive penalty in Ghana’s one-nil victory in the return fixture, following a two-nil win in the first leg.
The results have revived Ghana’s qualification hopes after a difficult start to the campaign, which saw the Black Stars suffer consecutive defeats against Ivory Coast and The Gambia.
Speaking about the responsibility of representing the country, the 35-year-old said he sees it as an opportunity to set a good example for the next generation.
He explained that he draws motivation from the need to inspire young people, including his own children, nephews and nieces, to believe in their dreams.
Ayew also described his continued career in English football at the age of 35 as a major personal achievement, adding that he hopes to keep playing for as long as possible.
The Black Stars captain urged young people not to give up on their ambitions, stressing that life comes with challenges but circumstances can change quickly.
The match against Somalia also marked a major milestone for Ayew, who made his 125th appearance for Ghana.
Ayew and his teammates are expected to regroup in March next year for Ghana’s final two Group C qualifying matches against Ivory Coast and The Gambia, as they seek to secure a place at the 2027 AFCON.