Aristotle said this quote

Every skill and every inquiry, and similarly every action and rational choice, is thought to aim at some good; and so the good had been aptly described as that at which everything aims.