I've known people personally whose use of a dash cam saved them in court when an officer tried to give them a ticket they didn't deserve.
They are also incredibly useful for if you get into an accident that's not your fault but the other parties try to blame you. They can really save you from being completely screwed over by insurance.
I have a dashcam that I bought years ago but always forget to actually use. I probably should start though.