Near the end of Jacob's life he calls his sons together to bless each one of them and many of those blessings are prophecies for the nation of Israel. For Simeon and Levi, he curses their anger that caused them to murder a whole town of men. But even in that judgment, we later see God's blessing for the nation of Israel through it. Sometimes our hardest circumstances are meant to bring about great good for us and for others.

"Cursed be their anger, for it is fierce, and their wrath, for it is cruel! I will divide them in Jacob and scatter them in Israel." Genesis 49:7