This is not to say better pain killers aren't valuable, they obviously are, it's just that for many of these chronic pain disorders there is some underlying cause that if we can treat would be the better solution.
But no one is saying painkillers is pointless. Parent is saying painkillers should be temporary. I suspect they forgot to mention the "in an ideal world" bit.
Chemotherapy is a treatment that targets the actual cause of the pain (the cancer) and (hopefully) kills it, leading to remission and (hopefully) return to normal function of the person as a cancer free individual.
A pain killer is something that does not target the cause of pain, does not treat or reverse or cause remission for that cause, and does not cause the individual to be illness free.
It just makes the person feel less pain, so they can be more comfortable.