The milage isn't as important as the amount of effort exerted. I've ridden 25-50 miles in lower gears throughout the day and not felt as tired as I do when I bike 10 miles all out on the second highest gear. 🤷
I wish we had a mountain. That would be the best exercise on a bike.