What does Psalms 105:19 mean?
But when the time was right, and what God said came true, the Lord's word proved him right. Psalms 105:19 - Modern Text Bible
(Joseph's suffering ended when God's promise was fulfilled, showing that God's word can be trusted even through hardship.)