分際をわきまえろ

Cut your coat according to your cloth.