Being hopeful is a choice. It is kind of like faith. You have to choose to believe in spite of what your circumstances might be telling you.
The verse I lean on is Romans 8:28. And we know that in all things God works for the good of those who love him, who have been called according to his purpose. This verse reminds me that God has got this. I have to trust Him. I do. It gives me hope.