cant blame him for trying

Cant blame him for trying is an idiom used by someone who wants to make a point that even though their friend or colleague has tried something and failed, at least they made an effort and tried their best. It typically is referring to the fact that this person is getting criticism for failing, but the person speaking is not surprised that they tried and feels they should not get negative gossip about them since they at least made an effort.