Gaining reliable access to the equipment can also be tricky depending on your budget, schedule and floorplan. I personally couldn't really get a good habit going until I could purchase the equipment and make it available from home. Prior to that I was intermittently going to a gym but Covid really drilled into me how transient that access can be.
Considering how far you can go with just a few gallons of water, would be nice if there was more innovation in this space to increase accessibility in a safe way. While the bars and weights are one thing, it's ultimately the lack of a rack that makes squats troublesome imo.