I would extend this out to going anywhere at night. Period.
Just go visit your local Walmart (or equivalent) at 10pm. Look at the character of the people there at that time of night. Mostly people with significant problems. Drugs, alcohol, mental, criminal, etc. Not a safe place to be. Call it a safety curfew.
I have been to my local wally world after midnight a few times also been there an hour or so before dawn,,now most likely it is my location ,the place is dead most of the time the only people there work there,,,,,,,,no waiting to get checked out and you can find help if you can't find something,,,,,,try that during daylight hours,,,,
now I am not saying all stores are safe after midnight,,,,,where you live plays a big part in how safe you are after around 10:00 pm,,,,very little crime here so being out is fairly safe,,,I worry more about the ride home than the store