Try to earn a lawful livelihood is (also) an obligation like the other obligation(in Islam). Baihaqi