The Bible teaches that all things work together for good for those who love the Lord and are called according to His purpose (Romans 8:28). This does not mean that all things are good for those who love God. This does not mean that God makes everything good. This means that God is able to take the cumulative sum of things and make them equal good according to His purpose and His will, which if one loves Him, works out "good" for His children as well. It can be difficult to try and harmonize the dynamic that God works all things together for good with the words of Christ that promised suffering. The Bible does not promise the absence of suffering for the believer so that all things are good. Rather, the Bible shows God's incredible ability to use circumstances that involve suffering for His good, so that those who abide in Him receive the benefits of His will and purpose.
In Genesis 27:41-46 the Bible documents the response of Esau to the trickery of his younger brother Jacob. The Bible reveals that Esau did not take kindly to Jacob's deception. The scriptures explain that Esau was so mad at Jacob for taking his birthright and blessing that Esau actually sought to console himself by killing his younger brother. Esau didn't seek to reason with Jacob. Esau didn't seek to forgive Esau. Instead, Esau continued to demonstrate that his life was governed by the selfish desires of his flesh without much consideration for God. This proves that God had made the right choice to make Jacob the heir of His promises rather than Esau.
Genesis 27:41-46 explains that Rebekah, Jacob and Esau's mother, found out about Esau's plot to kill Jacob. Rebekah discovered that Esau's plan was to mourn the coming death of his father, and then kill Jacob. Upon learning this truth, Rebekah sought to save her son by sending him away to her family in Haran - Abraham's original hometown. Rebekah planned to send Jacob to her brother Laban in hopes that he would be safe there and Esau would not be able to find him. Her hopes were that Jacob could stay in Haran for a short time while Esau's emotions were tempered some, allowing him to cool down and let the desire to murder his brother pass.
The scriptures explain that Rebekah gave Isaac a different reason for sending Jacob away to Haran. Rebekah complained that the wives of Esau and the other Hittite women were driving her crazy. She didn't take to them at all. Having been raised in a different culture, and raised to worship the Lord, she would uneasy and uncomfortable in the land they were living. Having seen the affects the Hittite women already had on one of her sons (Esau) as documented earlier in scripture, she told Isaac that she didn't want the same thing to happen to Jacob. If one examines the circumstances facing this family, it appears to be in great dismay. Rebekah and Jacob deceived Isaac to receive his blessing. Esau responded in a way that he desired to murder his own brother in jealousy rather than repent to God for giving up his birthright well before Jacob's deception. Rebekah was not fully honest about her motives for sending Jacob away. Jacob had to be sent over 70 miles away to relatives he'd never met before to ensure his safety from his own family. These were difficult circumstances that God would use to His advantage.
If one examines the outcome of these tragic events, one can clearly see the hand of God molding these events to result in good things according to His purposes and promises. When Jacob leaves, God takes that opportunity of Jacob's isolation to confirm the promises He made to Abraham and Isaac. In fact, God uses the fearful circumstances that Jacob was in to provide one of the most important Messianic visions in all of the Bible! God uses the circumstances of Jacob to accomplish the same thing He did with Isaac. Since God desired specific things for the descendants of Abraham, God was very interested in the women that Isaac and Jacob would marry. Thus, God used the escape of Jacob to bring him to his bride, which would be the mother of the 12 tribes of Israel! God would not only leverage this time to cool the temperament of Esau, but accomplish so many other things that facilitated His plan and promises in the process.
It is true that things were incredibly difficult and dysfunctional in the family of Isaac in Genesis chapter 27. The good news is that this dysfunction did not disqualify Isaac's family from the promises of God. God would exercise His patience, power and grace to use circumstances of misery to have good outcomes. This does not mean that each miserable decision that Isaac's family made came without consequence. Though God did not directly rebuke Rebekah and Jacob for their deception, it came with its consequence so that Jacob had to leave his home. Though God didn't immediately respond to Esau for his murderous intents, he never received his blessing and scripture later confirms that Esau was rejected by God. Isaac's family most certainly had to pay the consequence for the dysfunction they caused. Nevertheless, their dysfunction did not affect God's desire or ability to fulfill His eternal and unconditional promises. Thus, God used the difficult events that transpired in this family to accomplish good things according to His will. Praise God for His faithfulness and ability to work in spite of the weaknesses and foolishness of His children!