Only if you care about going into academia. It's possible to want to get a PhD just to grow in your field.
I acquired my PhD a few years ago, and while I admit that it's hard to compare that to the experience I could have had in industry, I feel like I grew quite a lot and that it helps me in my current position in many many ways, only one of which is pure CS ability.