This poem of praise glorifies Hashem by teaching you to praise Him even amid fiery trials, suffering and pain. For we, as beloved Jewish Israelite children, know that trials often lead to the burnishing of our neshumah, and thus brings us closer to Hashem's own likeness.