Joseph's brothers had so resented him when, as a youth, he had lorded it over them that they had, after considering murdering him, instead, sold him into slavery. Later, he was able actually to lord it over them. He had risen to a high position in Egypt and had used it to bring his whole family there where they could escape the famine back home.
Now, their father is dead, and the brothers fear that Joseph will finally exact revenge on them. He doesn't. "God intended this for good," he says to them.
Joseph chooses not to do revenge. God gets to handle the revenge.