Книга Иова
In Judaism, suffering is often seen as a punishment for sins and a test of a person's faith, like the Book of Job illustrates.