Answer: Pahom is the type of character known as protagonist, while the Devil is intended to be the antagonist.
The protagonist in a story is the main character. Although this is not a requirement, the protagonist tends to be identified with the "good guy." On the other hand, the antagonist is the character that is in active opposition to the protagonist. He is openly hostile to him, and they are often in conflict. The antagonist is often the "bad guy" in a story.