It is mostly mental.
The mind has a way of tricking the body into thinking it can’t do something, when it can.
As long as you can learn how to occupy or entertain the brain, then you can push the body farther.
We tend to think that we have to believe what the mind is telling us. When the truth is, we can control its thoughts and use that to motivate ourselves.