Should I get a dslr

I dont really know if I should get a dslr camera. The main reason im not sure is because I will soon buy a galaxy s23 ultra which also takes good photos.( I know its not dslr quality but still). And i also only just got into photography so im still a beginner. Also the cost of the camera and phone combined leaves me with no money left. It isnt a serious problem since im a kid living with parents, so taxes and stuff wont be a problem. Im thinking of buying a used canon 2000d with a 50mm and 18-135mm lens. But im not sure if I want to spend so much money on a relatively new hobby. So what do you think?