hǎo​zì​wéi​zhī

to watch one's step; to fend for oneself