['The deadline for the work project was coming in two days and I was not done yet. Thankfully, my co-worker agreed to help me even though he was not obliged to']
That was nice of him. You should take him out for dinner.
My co-worker agreed to help me finish the tasks even though he was not obliged to. I could not meet the deadline without him