Why do people go to the gym when buying home equipment is cheaper and more convenient overall?

Even if you spent around $5000 dollars it would work out a lot cheaper than paying a monthly gym membership for most of your adult life.
Why do people go to the gym when buying home equipment is cheaper and more convenient overall?
Post Opinion