I’d guess that ancient Greece had much to do with promulgating the concept.
Rome, too, when they were on the decline.