を怠って

neglecting

→ を
phrase Rare #33,213
neglecting を marks what is being neglected. 怠って is the connective form of 怠る, often used for neglecting a task, duty, or habit.
JA: 彼は準備を怠って、試験に失敗した。
EN: He neglected his preparation and failed the exam.

義務を怠ってはならない。

You must not neglect your duties.

カレンダーにそれを記入するのを怠っていました。

I neglected to put it on the calendar.

努力を怠ってはいけない。

You must never stop making an effort.

仕事を怠ってはいけない。

You must not neglect your work.

歯磨きを怠って、その子は虫歯になった。

The child got a cavity from neglecting to brush their teeth.

私たちの計画では、天気を考慮に入れることを怠ってしまった。

In our planning, we neglected to take the weather into account.