"Behold now, you are barren and have not borne" (Judges 13:3). Bar Kappara says: Great is peace, for Scripture spoke a fabricated wording in the prophets in order to make peace between a man and his wife. For it is written, "Behold now, you are barren and have not borne" [implying the fault lay with her]. But to Manoah the angel did not speak thus; rather he said, "From all that I said to the woman let her beware" (Judges 13:13) [not specifying who was childless]. In any case, she needed remedies [for the matter to be set right].
Great Is Peace That Scripture Bends Its Wording for It
Yalkut Shimoni on Nach 68:5
הנה נא את עקרה ולא ילדת ילדת. בר קפרא אומר גדול השלום שדבר הכתוב לשון בדוי בנביאים בשביל להטיל שלום בין איש לאשתו דכתיב הנה נא את עקראה ולא ילדת אבל למנוח לא אמר כן אלא מכל אשר אמרתי אל האשרה תשמר מכל מקום סממנין היא צריכה: