Synge is playing on the role of religion in Ireland at the time by expressing it through Shawn. The Catholic Curch in Ireland condemned unmarried people from intimacy, even plutonic imtimacy before marraige, and shawn refuses to stay the night with Pegeen because he's afraid of the wrath of the church, father Reilly being the personification of this.