Psychology shows that in dark political times, there’s an essential thing we must do to cultivate hope