Joseph said to his brothers, “I am dying, but God will surely visit you and bring you up out of this land to the land that he swore to Abraham, to Isaac, and to Jacob.”

“visit you.” In this context, God’s visit was to bless Israel.
[For more on “visit,” see commentary on Exodus 20:5.]