Rep. Jack Bergman, R-Mich., said Wednesday that the media bear some responsibility for the hateful rhetoric used today that he said was likely a factor in the shooting during the Republicans' congressional baseball game practice.

"The hateful rhetoric serves no positive purpose, in fact today it obviously served a negative purpose, but unfortunately, and I'm looking at all the media in the eye when I say this: Friendships and cordial relationships don't make good news," Bergman said on Fox News.

"So, I can tell you, especially as president of the freshman class of Republicans, we are united along with our Democratic freshman counterparts to bring civility back to the 115th Congress."

When asked if the current state of hateful rhetoric is the media's fault, Bergman responded, "I think the media is complicit if they keep inciting as opposed to informing."

Anchor Melissa Francis followed up by asking if the media should not report on hateful statements.

"No, that's not what I said," Bergman responded. "I just think you need to make sure that you think twice about how your words, inflections and phrases are going to affect all the people who might see it."

Wednesday's gunman, identified by the FBI as James Hodgkinson, posted extensively on social media against President Trump and the GOP. At least four people were shot, including House Majority Whip Steve Scalise, R-La.

"I think we can all learn by holding each other accountable when there are negative things like this, that we can all get better. Everyone included," Bergman said. "That includes the media and that includes Congress."