Why you need to go to a public gym? You can setup your own - piece by piece - start with an exercise mat, dumbbell set and incline/decline foldable bench, that's it. For the next level, you can setup your own roll cage; that's what I did during Covid. During the past couple years, I've added few more equipment. I believe I can do about 90% of strength training exercises that you can do in a 12000 sq ft gym. But, my personal gym is spread only on about 34 sq ft :-)