constant friction of people of corrupt minds and destitute of the truth, who suppose that godliness is a means of gain. Withdraw yourself from such.
Gain -- a means for advancing. Using sacred work for secular gain. Supposing that the way to appear godly (to advance, get gain) is to argue, to cause war of words, and conditions of verse 4.