I always walk, if the course doesn't include a cart with their green fees. Some courses charge the same regardless of whether you are walking or taking a cart. In that case, I will ride.
IMHO, there is nothing like walking a course to enjoy the whole scenery.
I stopped going to the gym when the pandemic started. I bought my own Rogue Power Rack and weights and started working out at home. Have not gone back to gym since then.
One thing I did not like when I used to go to the gym everyday is people hogging equipment. They would use 2 or 3...