Книга Иова
See the portion of this article about the character's likeness to the Satan from the Book of Job.