It’s probably different for every person but complaining about my job either helps me arrive at a solution or realize that I can’t do anything about it and distance myself. I’m very lucky to have never been in a situation yet where the problem is unfixable, truly unbearable, and I also can’t just leave.