Lepiej późno niż wcale
This literally translates to "better late than not at all."
You can also use:
Lepiej późno niż wcale (more formal and less common)
Lepiej późno, niż nigdy (more poetic and less common)
All three phrases convey the same meaning of it being better to do something, even if it's delayed, than not do it at all.