Self-inflicted suffering is not rewarded:
The Prophet (ﷺ) saw an old man walking, supported by his two sons, and asked about him.
The people informed him that he had vowed to go on foot (to the Ka`ba).
He said, "God is not in need of this old man's torturing himself," and ordered him to ride.
- Prophet Muhammad