In Rom. 9: 11 we read that God "hated" Esau even while in the womb. The fact that God hated him simply means that God was merely working according to the Principle to fulfill His providence of restoration through indemnity by placing Esau in Cain's position.
After Esau's completing his own responsibility by loving and receiving Jacob, he could then stand on the position of restored Cain and finally receive the equal love and blessing of God (Gen. 36:7).