Shaw here is clearly disapproving the ways of the passionately religious people who he sees as not very moral and religious at all. They follow it for reasons other than faith or belief and one morality for than as good as another as long as it does not bother them. They do it for status and money. Shaw is clearly both sardonic and disdainful towards these people and he makes few humorous remarks on their behalf.