I studied Physics. I now work in Data Science, I'd strongly recommend studying Computer Science instead of Physics just because there are many, many more jobs in it.
It's not even about pay (as maybe you would be happy being paid less) but just the actual lack of research jobs in Physics (and the ones that exist typically have poor job security with temporary contracts being the norm).
So it's highly likely you would do the degree in Physics and end up having to work in something else anyway. In which case you might as well study something that has better job prospects.
But yeah, that's just my opinion.