This quote about education being an ornament in prosperity and a refuge in adversity is indeed attributed to Aristotle in ancient Greek philosophical traditions. It reflects Aristotle's views on the practical and protective value of education across different circumstances of life.