Rav Kook's optimism explains that what seems "bad" is just the "developing good", and takes issue with neo-paganism, Schoppenhauer and the school of pessimism.
The redemption is not just for Israel but universal, and there are several ways to influence. Rav Kook greatness as a commentator on Tanach is seen in this paragraph.
Uniting Intellect and Emotion in the Beit HaMikdash and Religious Zionism
Ein Aya Shabat Chapter B Paragraph 40 (p1)
Intellectuals tend to be more universal and less patriotic, but Jewish nationalism, aiming to raise morality, combines the two and speaks to the rational and emotional.