End of the day studying math can just be a way to train your critical thinking skills. A phd in math can be useful outside of math research, if only as a signal to employers