Feeling guilty

So my son is two and he has everything he needs clothes diapers wipes food to last for awhile but I spent over 300 dollars today on a phone that I needed and I NEVER spend that much money hell I really don’t spend much on myself and I wouldn’t of done it if I felt like it would of left me struggling but I still have this guilt like I shouldn’t of spent that much when I have a kid but part of me is like I still have money and he has everything he needs. Is this like a mom guilt thing? I’m trying to shake the feeling but it’s hard. Am I being too hard on myself?