['I had made a bad mistake on a work project, and my coworker took the blame for it. I felt bad for not speaking up to my boss.']
That really sucks. Did you make it up to your co-worker?
I feel really bad that my coworker took the blame for something I messed up on. I should have spoken up when our boss was scolding them about it.