It's hard to make up for wasted time.

Literal

Wasted time [object-を] make-up-for [nominalizer-こと] [topic-は] difficult.

埋め合わせる nominalized with こと turns 'making up for X' into a noun phrase that can be the topic. A gnomic statement of general truth about wasted time.