God requires to set up his throne in the heart, and to reign in it without a rival: if he be kept out of his right, it matters not by what competitor. The revolt may be more avowed or more secret; it may be the treason of deliberate preference, or of inconsiderate levity; we may be the subjects of a more or of a less creditable master; we may be employed in services more gross or more refined; but whether the slaves of avarice, of sensuality, of dissipation, of sloth, or the votaries of ambition, of taste, or of fashion; whether supremely governed by vanity and self-love, by the desire of literary fame or of military glory, we are alike estranged from the dominion of our rightful Sovereign. Let not this seem a harsh position; it can appear so only from not adverting to what was shown to be the essential nature of true religion. He who bowed the knee to the god of medicine or of eloquence, was no less an idolater than the worshiper of the deified patrons of lewdness or of theft. In the several cases which have been specified, the external acts indeed are different, but in principle the disaffection is the same; and we must prepare to meet the punishment of rebels on that tremendous day, when all false colors shall be done away, and, there being no longer any room for the evasions of worldly sophistry, . . . “that which is often highly esteemed amongst men, shall appear to have been abomination in the sight of God.”
William Wilberforce, A Practical View of the Prevailing Religious System of Professed Christians in the Higher and Middle Classes of This Country Contrasted With Real Christianity (1797). The book is available in its entirety at the link. Here is a three-page pdf file of this excerpt plus surrounding text. Note that, as was common in his day, when Wilberforce uses the word “religion,” he most often is referring solely to Christianity.