Have you been to that doctor before? If so, was he decent-polite-considerate then?
It was a flippant sounding remark - but for some things, unfortunately, there is no cure. About the best one can hope for is pain management/relief.
I hope you can get some relief for your problems. Another physician may be more sympathetic.