I couldn't attend the party because of illness.

Literal

Illness [because-のために] I [topic-は] party [to-に] couldn't-attend.

パーティーに出られなかった — 出る in its potential form 出られる means 'to be able to attend/appear.' The negative 出られなかった expresses inability. のために marks the cause.