"late to recover his loss, so it will be in the day of God with those who have bartered their heirship to heaven for selfish gratifications. PP 182.1"
"For ye know how that afterward, when he would have inherited the blessing, he was rejected: for he found no place of repentance, though he sought it carefully with tears."
Both passages discuss the consequences of trading something of great value (inheritance/blessing) for immediate gratification and the regret that follows. The EGW passage uses the concept of bartering an 'heirship to heaven' which echoes Esau's selling of his birthright.