live by

live by sth – żyć według czegoś (np. jakiejś zasady) / to live following a particular rule etc.