A Pennsylvania congressman predicted this week that Sen. John McCain wouldn’t support the GOP’s newest efforts to overhaul the US healthcare system because the Arizona Republican, recently diagnosed with an aggressive form of brain cancer, was “staring death in the face.”

Democratic Rep. Matt Cartwright, taped while speaking at a town-hall event on Tuesday, said he was somewhat worried about McCain’s vote on the bill, known as Graham-Cassidy. But he suggested McCain’s illness would help him “make good choices.”

“Man, something tells me McCain, he’s staring death in the face right now, so he’s probably going to make good choices, and he’s not going to bend to political pressure,” Cartwright said.

The senator’s daughter, Meghan, condemned the remark on Twitter on Thursday, calling it “disgusting and macabre.”

Cartwright put out a statement later on Thursday apologizing for his comments and expressing his “deep admiration” for McCain.

“I want to express my deep admiration for Senator McCain and gratitude for his service to our nation. I have reached out to apologize directly to him and his family for my statement about his illness, which I agree was insensitive, and which has clearly offended the McCain family,” Cartwright said. “I know he will continue to fight for the people of Arizona and this country during his courageous battle with this disease. I wish him a speedy and full recovery.”

McCain returned to the Senate full time two weeks ago after undergoing brain surgery this summer. He had won accolades from Democrats when he became one of three Republicans to vote against the GOP’s previous healthcare bill.

The senator has consistently called on Congress to “return to regular order” and work out bipartisan legislation with committee markups and hearings.

“Our healthcare insurance system is a mess,” McCain said in July. “We all know it, those who support Obamacare and those who oppose it. Something has to be done. We Republicans have looked for a way to end it and replace it with something else without paying a terrible political price. We haven’t found it yet, and I’m not sure we will. All we’ve managed to do is make more popular a policy that wasn’t very popular when we started trying to get rid of it.”

While McCain is under pressure to yield to his Republican colleagues – and the bill’s cosponsor, Sen. Lindsey Graham, is a close friend – he told reporters on Monday that he would continue to press for “regular order.”

“I am not supportive of the bill yet,” McCain said of the Graham-Cassidy legislation. “It’s not so much 60 votes that I care about – it’s a bipartisan approach to the issue is what I mostly care about.”