The original play was by George Bernard Shaw. Any commentary on the absurdities and arrogance of the British class system is deliberate. Though by "the Bible" he's equally referring to the King James translation, which was regarded as a major literary influence, on par with Shakespeare.