Correct

饥不择食

/ jī bù zéshí /
Strokes

Definition

when hungry, you can't pick what you eat (idiom); beggars can't be choosers/When matters are urgent, don't spend time choosing alternatives.

Example

Definition

a hungry person is not picky and choosy; hunger finds no fault with the cookery; hunger is the best cook/sauce; nothing comes amiss to a hungry man