President Trump praised the U.S. Coast Guard for saving people while also taking a dig at the media during his visit to flood-stricken Houston, Texas, on Saturday.

After visiting with victims of Hurricane Harvey, Trump thanked the Coast Guard for saving nearly 11,000 people, while trolling the press for not being willing to go into the harsh winds.

"I hear the Coast Guard saved ... almost 11,000 people by going into winds the media would not go into," he said before boarding a flight to Louisiana.

"They will no go into those winds, unless it is a really good story, in which case they will," Trump added.

Trump and first lady Melania visited Houston on Saturday to meet victims of Hurricane Harvey and helped volunteers dole out supplies for those dealing with the aftermath of the storm.