Socrates said this quote

Wealth does not bring about excellence, but excellence makes wealth and everything else good for men, both individually and collectively.