choosing to be afflicted with the people of God, rather than to have the pleasantness of sin for a time
Other versions
King James Version
Choosing rather to suffer affliction with the people of God, than to enjoy the pleasures of sin for a season;English Standard Version
choosing rather to be mistreated with the people of God than to enjoy the fleeting pleasures of sin.New International Version
He chose to be mistreated along with the people of God rather than to enjoy the pleasures of sin for a short time.