Plato said this quote

virtue does not spring from riches, but riches and all other human blessings, both private and public, from virtue.