I've done that for decades. I'd periodically suffer from debilitating back pain, where I couldn't even tie my shoes. I finally went to the doc, who said my problem was "weak back muscles". I pointed out the running, and the doc said "running does nothing for your back."
He gave me an illustrated guide to back exercises, aka core strength exercises. I do them 3x per week, and added some more I derived from yootoob back excercise.
Does it work? Hell yes. I wouldn't say my back never bothers me, but the pain has faded enough that it doesn't bother me anymore, and no more debilitating episodes.
It's been well over 10 years now. I don't enjoy the exercises, but I enjoy being free of the pain.