I’d like to add that in the continuation of the story, Jacob later tried to make peace with Esau. This is “moral Jacob”. Jacob who stole God’s blessings was “Jacob who believed”. I know it’s a weird story. But through this story we undrestand the difference between a person who 100% resolute to get God’s blessings versus any “moral” person who was lukewarm in his believe.
Moral teaching is good at human level, but it cannot explain some of God’s actions in the bible. Because God is not under any moral teaching. We assume God’s choices is always moral, but due to our lack of understanding, it appears immoral. God reveal himself through His word. His word is a promise. He works through His law. And His mercy. Through this revelation, we understand God: His Justice & His Mercy reveal His ways to our limited understanding about who/ what/ why God is.
For example: Jacob did not steal any tangible or intangible things. He stole blessings. For us, we see it as if it is immoral, because we see now how God favor Jacob because of the blessings. But at the time it was something that was not really there: it was something could be seen only by the eyes of faith.