/baɪ jəˈsɛlf eː hæt/
Treat yourself to something nice.
“She decided to buy herself a hat for summer.”