Honest question

Hey everyone! So next year I’ll be moving to another state for PA school and this will be my first time moving to another state by myself. So.. I was thinking would it be a good idea to get a dog? I definitely plan on not getting roommates because I had a bad experience in the past and I want to live alone but I tend to get scared by myself sometimes LOL. However some people tell me with how demanding school is, the dog will probably be neglected. Any advice?

Edit: I’ve had a dog before when I was growing up, she died when she turned 18. If that helps lol

Edit: thank you guys so much for all your responses😭 yall gave me so much insight but uhhh based on the answers maybe I’ll just get me an alarm system or something idk😭😭😭 thank you!