Hebrew

ˁgm - to be sad (HALOT 785)

Hard to separate from Akk. agāmu ‘to be angry’.