量入为出

cut one's coat according to one's cloth, keep expenditures within the limits of income, make both ends meet, pay as you go[经] measure expenditure by income

liàng rù wéi chū ㄌㄧㄤˋ ㄖㄨˋ ㄨㄟˊ ㄔㄨ