cut your coat according to your cloth. - French English Dictionary