Batman wasn't even the worse character in those movies. He mostly came off as someone who wanted to get the job done as quickly and efficiently as possible, and get the fuck out.
Superman behave as some insecure and arrogant jock who felt the need to constantly remind everyone he was powerful. Specially to Batman who'd often ignore his displays.
Wonder Woman was an ignorant and battle-hungry barbarian who just appeared so she could slash enemies into tiny cubes. The few dates she appeared in with Superman they did the usual "we're so above these lowly mortals" thing. She also seemed to dislike anyone but Superman.
Shazam was mostly just an obnoxious and horny kid with no self-awareness who was mostly into sports. Constantly annoying and ruining Cyborg's day.
Cyborg was the eternally depressed and morose guy with the PAINFUL PAST. Dude couldn't do anything but focus on his own feelings.
Hal behave as if he just didn't wanted to be there for any of that shit, but since Flash dragged him then he'd make sure that Batman also suffered the same shit.
The Flash was the only one who seemed to be truly professional and polite.
So yeah, a bunch of douches. Specially because they never develop as characters. They always repeat the same behavior every movie.