Sometimes these concepts are tough mental nuts for us to crack and swallow because we emotionally recoil at thinking of God as doing the things Paul mentions. Nevertheless, the Bible's record is true. Clearly, the sovereign God, in working out His plan, purposely makes people for destruction, while at the same time giving abundant grace in His calling to others who are just as worthy of destruction as those destroyed! Were Pharaoh and the Egyptians any worse sinners than the Israelites? Hardly, but in God's purpose they died while the Israelites received grace.
As Paul says, there is no unrighteousness in God. He is free to exercise His powers as He wills. His actions are always done in love, and in the end, they will produce righteousness, love, and honor for Him. The Egyptians will be saved. When God gives them grace in the Great White Throne Judgment, they will come to know Him and glorify Him as their God too.
John W. Ritenbaugh
God's Sovereignty and the Church's Condition (Part Two)
Other Forerunner Commentary entries containing Romans 9:17: