This statement from Joseph to his brothers summarises the story of the entire book of Genesis. God is good. People sin. God's goodness outweighs our sin.
Joseph's final words are an act of faith, looking forward to a time when God will bring his people out of Egypt and carry his bones with them. In Genesis we see that God created a good world that has been broken and corrupted by our sin. God graciously acts towards people at that time, but his promises are not perfectly fulfilled within their lifetime, they are looking forward into the future for the fulfilment of those promises.
We live in the same beautiful but broken world. Jesus has stepped into that world and, in him, we see what God is doing. Like Abraham and Isaac and Jacob, we look forward to the day when God will bring all of his promises to a glorious consummation. How do we know? We have encountered Jesus!