אִם־תָּב֨וֹא עָלֵ֜ינוּ רָעָ֗ה חֶרֶב֮ שְׁפוֹט֮ וְדֶ֣בֶר וְרָעָב֒ נַֽעַמְדָ֞ה לִפְנֵ֨י הַבַּ֤יִת הַזֶּה֙ וּלְפָנֶ֔יךָ כִּ֥י שִׁמְךָ֖ בַּבַּ֣יִת הַזֶּ֑ה וְנִזְעַ֥ק אֵלֶ֛יךָ מִצָּרָתֵ֖נוּ וְתִשְׁמַ֥ע וְתוֹשִֽׁיעַ׃
If evil come upon us, the sword, judgment, or pestilence, or famine, we will stand before this house, and before Thee—for Thy name is in this house—and cry unto Thee in our affliction, and Thou wilt hear and save.
Ibn Ezra
שכל The loss of children. It is a noun similar in form to כפר hoar-frost (Ex. 16:14); שפט judgment (2 Chr. 20:9)
Rashi
For a test For a great test, with torments in many other forms of retribution, they were tested: the rod, pestilence, famine, and wild beasts.