The other philosophy that thought about this, but on a more intellectual level, was Stoicism, which was very popular in the Roman empire.