Job 36:7 (ESV)

7 He does not withdraw his eyes from the righteous, but with kings on the throne he sets them forever, and they are exalted.

God does not take his eyes off his afflicted people until he has replaced their humiliation with honour. (This is a frequently repeated pattern in Scripture; think, for example, of God’s dealings with Joseph, Moses, David, and, most of all, his own Son.)