Poor Esau, after having been cheated out of Isaac’s blessing, realizes his parents hate his Canaanite wives. In disgust and anger, he goes and gets another one.
Jacob, on his way to Harran to stay with Laban, has a dream of God who makes his promise to him. Upon awakening, Jacob starts bargaining with God.
I think the takeaway from this is, once God has made his commitment to you, he is not going to be deterred by your lousy shortcomings. God’s commitment is absolute.