Hebrews 11:25-26

NIV
New International Version

25He chose to be mistreated along with the people of God rather than to enjoy the fleeting pleasures of sin. 26He regarded disgrace for the sake of Christ as of greater value than the treasures of Egypt, because he was looking ahead to his reward.