量力而行

Idiom

 * 1) to act according to one's capability; to weigh one's abilities and do it; cut one's coat according to one's cloth