Efforts by House Republicans to tie the debt ceiling fight to the repeal of Obamacare sent policymakers on "a fool's errand" that ultimately resulted in a partial government shutdown that nobody wants, Sen. John McCain, told CNBC on Thursday.
Though the Affordable Care Act was passed by Congress, signed by President Barack Obama and upheld by the Supreme Court, some politicians still opposed the law, including select Republicans and members of the fiscally conservative tea party.
But with Obama's reelection in 2012, "it was pretty obvious that we were not going to defund Obamacare, and we were sent on a fool's errand," the Arizona Republican said.
(Read more: Full fix to Obamacare tech problems? May take years)