Sen. Lindsey Graham, R-S.C., on Wednesday dismissed Senate Majority Leader Mitch McConnell's blaming President Trump for the unrealistic expectations the public holds over Congress.

"I like Mitch, but for eight years, we've been saying we're going to repeal and replace Obamacare. It's not like we made this up overnight. We have been working on repealing Obamacare all year," Graham told Fox News Radio's "The Brian Kilmeade Show" about lawmakers' failure to repeal Obamacare or pass a new healthcare reform bill.

"The idea put forward didn't pass. It was in many ways an ill-conceived idea. I'm not moving on … I'm not giving up. President Trump's not giving up," Graham added.

"There is no way to sugarcoat this. The Republican Party promised for eight years to repeal and replace Obamacare, we failed, and if we give up, shame on us."

Earlier this week, the Kentucky Republican blamed Trump's "excessive expectations" for making Congress look like it has not accomplished anything meaningful in 2017.

"Part of the reason I think that the storyline is that we haven't done much is because, in part, the president and others have set these early timelines about things need to be done by a certain point," McConnell told a Rotary Club gathering in Kentucky Monday.