qū​lì​bì​hài

to seek benefit and avoid harm