Analysis of suffering in Job and Prometheus