I couldn't attend the gathering because of illness.

Literal

Illness [because-のために] I [topic-は] that gathering [to-に] attending [could-not-出来なかった].

集まりに出席出来なかった — 集まり means 'gathering, meeting' (from the verb 集まる). 出来なかった is the kanji form of できなかった.