They do say to “climb with your legs”, but a lot of it is just how darn powerful legs are.  It’s a double whammy that they’re good for endurance and strength, so it’s no wonder experienced climbers say that.