While you are trudging through the hardships and trials of this world, this poem of praise teaches to keep the blessed hope of Torah, Hashem, and moshiach in the front of your mind. Doing so will give you the power of Hashem to overcome any and all trials.