λιμῷ ἅμα καὶ δίψει ἐπιέζοντο

From LSJ

τά γε μὰν λίνα πάντα λελοίπει ἐκ Μοιρᾶν → but all the thread granted him by the Fates had run out

Source

English > Greek (Woodhouse Quotes Reversed)

they suffered at the same time from hunger and thirst