It's best to not confuse optimism with hope. Optimism is a psychological attitude toward life. Hope goes further. It is an anchor that one hurls toward the future, it's what lets you pull on the line and reach what you're aiming for and head in the right direction. Hope is also theological: God is there, too.
Christian hope is not a ghost and it does not deceive. It is a theological virtue and therefore, ultimately, a gift from God that cannot be reduced to optimism, which is only human. God does not mislead hope; God cannot deny himself. God is all promise.