I 100% agree, if you'd take a bribe at $174k as a civil servant then you'd take a bribe at any price point. Raising pay doesn't stop corruption, at best it just raises the price a bit. Trump was supposedly selling pardons for $2 million, he issued 143 pardons (let's say he was only paid on 10% of those). That's $28 million in bribes.
If we have to match the bribes to stop corruption then $28 million times 535 members of Congress is $15 billion.
I am not fundamentally against giving Congress a pay raise, their last pay raise was in 2009 and it's probably time to give them a cost of living adjustment. I'm not opposed to giving Congress a pay raise to encourage a wider range or people to run in the hope that we can have better Congressmen. There are Congressmen who come from already expensive areas where $174,000 isn't a lot (such as AOC) and so they may need more pay. Washington is an expensive place and so are the surrounding areas, there is an argument that they need high pay to run their house in their home state and pay for expenses in DC.
The problem I have is with the argument that paying Congress more would either help eliminate corruption or that Congressmen can make more money working somewhere else.
The first paragraph of arguments is a real discussion and should be solved. Patrick McHenry doesn't fit that criteria. $174k is a very good wage in his district and a quick search of some public records shows he has owned multiple properties and even owns a separate lake property as well.
So if living very comfortably, almost lavishly in comparison to the people in his district, isn't enough then what is? What is the lifestyle expectation for a Congressman? I personally don't think a Congressional job should be about making people wealthy. If this isn't enough then nothing would be.