Also, like u/Faded_flower30 mentioned, PhD programs will usually be funded and will leave you with a livable stipend (nothing fancy but definitely enough to stay afloat) + you'll be allowed to work 20 hours a week as a student, for your university for the first year, and for the second year onward you can apply for permission to work 20 hours for any employer