614. – Then (v. 24) he shows what Moses did by faith; first what he did; secondly, that what he did pertained to faith (v. 26b).
615. – Here he touches on the history recorded in Exodus (2), where it is stated that Pharaoh's daughter had him nursed by his mother and adopted him as a son. But he denied himself to be her son, not in word, but in deed; because against Pharaoh's will he killed an Egyptian who had harmed a Hebrew. Therefore, he says, by faith, when he was grown up, he denied himself to be the son of Pharaoh's daughter. With what feelings he did this he shows when he says, rather c...hoosing to be afflicted with the people of God, than to have the pleasure of sin for a time. This indicates his marvelous virtue. For there are two things which men desire most, namely, pleasure and delight in external things; and they flee most from their opposites, namely, pain and affliction, which are opposed to the first, and poverty and abjection, which are opposed to the second. But Moses chose those two, because he preferred pain and affliction to temporal sin's pleasure, which is always associated with sin. He also chose poverty because of Christ: 'It is better to be humbled with the meek, then to divide spoils with the proud' (Pr. 16:19); 'I have chosen to be an abject in the house of my God, rather than to dwell in the tabernacles of sinners' (Ps. 83:11). As to the first he says, rather choosing to be afflicted with the people of God, whom Pharaoh afflicted, than to have the pleasure of sin for a time; which he would have had, if he had afflicted the children of Israel with the Egyptians. As to the second, namely, that he chose poverty, he says: esteeming the reproach of Christ greater riches, i.e., for the faith of Christ, for which he endured a reproach from his brothers, as is stated in Exodus (2:14): 'Will you kill me, as you did yesterday kill the Egyptian?' This reproach was a figure that Christ would have to endure reproaches from the Jews: 'My heart has expected reproach and misery' (Ps. 68:21). But he esteemed those two things greater riches than the treasures of the Egyptians: 'The riches of salvation, wisdom and knowledge' (Is. 33:6).
Source: Commentary on Hebrews