Language:
Free Online Dictionary|3Dict

量體裁衣

Source : CEDICT

lit. measure the body then tailor the suit (idiom); fig. to act according to actual circumstances/To live within one's means.