טוֹבִ֤ים הָיוּ֙ חַלְלֵי־חֶ֔רֶב מֵֽחַלְלֵ֖י רָעָ֑ב שֶׁ֣הֵ֤ם יָז֙וּבוּ֙ מְדֻקָּרִ֔ים מִתְּנוּבֹ֖ת שָׂדָֽי׃ (ס)
死於刀劍的,比死於飢荒的還好;因為那些餓死的人因田間的出產腹部破裂,衰竭流淌。
Bava Batra
"Famine is worse than the sword": If you want to say that it is from logical reasoning: This one, he suffers, that one, he does not suffer. If you want to say that it is from a verse: (Lamentations 4, 9) "They that are slain with the sword are better Than they that are slain with hunger" Captivity is the worst of all, for it contains all of them.