כְּמ֤וֹ הָרָה֙ תַּקְרִ֣יב לָלֶ֔דֶת תָּחִ֥יל תִּזְעַ֖ק בַּחֲבָלֶ֑יהָ כֵּ֛ן הָיִ֥ינוּ מִפָּנֶ֖יךָ יְהוָֽה׃
װי אַ טראָגעדיקע װאָס גײט צו קינד, דרײט זיך, שרײַט אין אירע װײען, אַזױ זײַנען מיר געװען פֿאַר דיר, גאָט.
Rashi
As a pregnant woman comes near to give birth, etc. So were we because of You; we see troubles being renewed, and we think that they are sorts of indications of salvation and redemption, for we are promised to be redeemed out of straits, as a woman giving birth.
Ibn Ezra
Like as a woman, etc. This verse describes the chastening mentioned in the preceding verse.