It’s funny, because Paul criticised such thought in Colossians 2:23:
> These have indeed an appearance of wisdom in promoting rigour of devotion and self-abasement and severity to the body, but they are of no value in checking the indulgence of the flesh.
Meaning: sure, looks good, but doesn’t actually help if the suffering itself is your goal.
(Notwithstanding this, Acts 5:41. A lot, in such topics, depends on exactly how you present things.)