Someone please console me and tell me it's ok to treat myself

So I went shopping for the first time in a long time today. I'm going to grad school in September and had basically nothing to wear. Like, I had nothing that fit that was anywhere in between sweat pants and wool suit in formality levels. But, I never spend money on myself and this cost a lot. Like probably double what I should have spent. I know I spend less money on clothes than most people, so in the big picture it's probably a much needed drop in the bucket. But I just can't shake the guilt. If I had spent as much on clothes for my husband, well that's no biggie. I just can't justify it for myself . Ugh! I want to like myself enough to feel like I deserve nice things.