In the Book of Job Satan is an adversary who argues to God that Job is righteous only because of his prosperous life. God allows Satan to inflict a life of suffering on Job to test if Job is truly righteous. Despite his suffering, Job still refuses to curse God.