could notUsed after a dictionary-form verb as ~ことができなかった to mean “could not” or “was unable to do something.” 事 is often written as こと in this construction.
JA: 時間がなくて、宿題を終わらせる事ができなかった。
EN: I couldn't finish my homework because I didn't have enough time.