That's why I needed you.
He was created by Alessa to punish the cultists for what they have done to her.
Unknown to James, Pyramid Head is a physical manifestation of his guilt over his wife Mary's death.
Then he lifts her into the air, skins her alive and then throws her skin at the church doors.
It is only after that I realized she has acted in quite the number of good roles and plays.