He thought that being insulted for the sake of the Messiah was of greater value than the treasures of Egypt, because he was looking ahead to his reward.