A usual answer to the PoE is that God permits evil in order to bring about certain goods.
What is interesting in the case of Job, though, is that whilst Job does receive certain new goods that God brings about, he forever loses the goods he had before—they are never replaced.