If that’s a quote can you give the cite? Or is it your impression of something else Obama thought/said? In which case it shouldn’t be in quotes.
No - OblaBla said that or something very close to that. No quotation marks needed nor are we compelled to add a citation for each of his blatherings.
Exact quote is: Maybe you’re better off not having the surgery, but taking the painkiller.