Source identified1
“The hope of the righteous shall be gladness.”
Hope is connected with gladness because a worthy expectation can give present direction before the hoped-for outcome arrives.
Source note: Proverbs 10:28 in the King James Version; opening clause of the verse.