“Why are you cast down, O my soul, and why are you disquieted within me? Hope in God; for I shall again praise him, my help and my God.”
“Listen to me, O coastlands, pay attention, you peoples far away! The LORD called me before I was born, while I was in my mother’s womb he named me. He made my mouth like a sharp sword, in the shadow of his hand he hid me; he made me a polished arrow, in his quiver he hid me away. And he said to me, ‘You are my servant, Israel, in whom I will be glorified.’ But I said, ‘I have labored in vain, I have spent my strength for nothing and vanity; yet surely my cause is with the LORD, and my reward is with God.'”
And of course, the entire book of Job.
“Trust in the LORD, and do good; so you will live in the land, and enjoy security. Take delight in the LORD, and he will give you the desires of your heart. Commit your way to the LORD; trust in him, and he will act.”
Tobit is helpful.
“‘Blessed are you when people hate you, and when they exclude you, revile you, and defame you on the account of the Son of Man. Rejoice in that day and leap for joy, for surely your reward is great in heaven; for that is what their ancestors did to the prophets.'”