He regarded disgrace for the sake of Christ as of greater value than the treasures of Egypt, because he was looking ahead to his reward.
I find this verse interesting because of the mention of Christ. The writer of Hebrews is making this amazing connection between Moses, choosing to be identified with the people of God, and this shared disgrace with Christ.
There are only two sides. You can be on the side of Christ, on the side of His people, on the side of what is right, or you can align yourself with the world. There are no in-betweens, no third sides.
Look ahead for your reward. Don't put your treasure in the things of this world, for where your treasure is, there will your heart also be.