Jennifer Garner has shared a moving quote with fans, just days after her ex-husband Ben Affleck confirmed his engagement to Jennifer Lopez.DISCOVER: Jennifer Lopez and Ben Affleck's family member speaks out following their engagement newsThe 49-year-old actress, who shares children Violet, Seraphina and Samuel with the Pearl Harbour star, took to Instagram on Thursday to upload a sun-kissed photo of herself relaxing on a yacht, looking carefree and happy. The Alias star was pictured modelling a black sundress, oversized shades and windswept hair as she smiled at the camera.WATCH: Jennifer Garner thanks fans in emotional videoThe gorgeous snapshot was accompanied by the message: "Wisdom from Mom – happiness is your own responsibility.