Real Time host Bill Maher mocked Americans living in red states as less 'affluent and educated' than those living in blue states.

The comment was part of a message to Amazon CEO Jeff Bezos after he and his company pulled out of a deal to have a headquarters in Queens in New York City.

He said the company now had a chance to 'actually do good' and help out areas of the country that are less prosperous.

In the closing remarks of his HBO show on Friday night, Maher compared Bezos to Bugsy Siegel, remarking that if the mobster built Las Vegas in the midst of a desert, then Amazon could do the same by turning Nebraska 'into the next Silicon Valley'.

'We have a problem in America called spatial geographic inequality which means the most affluent and educated people are clustered in just a few cities,' Maher said.

SCROLL DOWN FOR VIDEO

Real Time host Bill Maher said the 'most affluent and educated people are clustered in just a few cities', referring to those in blue states, in the closing remarks of his Friday show

He then went on to mention a comment made by Hillary Clinton about how she 'won the places that represent two-thirds of America's gross domestic product' in the 2016 presidential election.

Maher then shows a map where the majority of Middle America is in red while the coasts are heavy in blue, indicating where the plurality voted Democrat or Republican.

'The blue parts of America are having a prosperity party while that big sea of red feels like their invitation got lost in the mail,' Maher said.

He then goes on to say there are clearly 'two Americas'.

'We have orchestras and theaters districts and world-class shopping. We have Chef Wolfgang Puck, they have Chef Boyardee,' Maher said.

'Our roofs have solar panels. Theirs has last year's Christmas lights.'

The late-night host said Middle America, or 'the passed-over states', are not just angry - they're 'pissed off'.

'They don't hate us, they want to be us,' Maher said.

Maher also accused Amazon of 'playing cities off against one another' during its bidding process for new headquarters.

After 238 cities and regions submitted proposal, Amazon chose New York City and Arlington, Virginia, which is suburban Washington, DC.

'And Amazon picked two places that didn't need them at all, places where prosperity already was. Bezos you're worth 130 billion,' Maher said.

'Take one for the team. Stop playing cities off against one another and help a dying one come back to life!'

Maher (left in December 2018 and right in August 2017) then goes on to say there are clearly 'two Americas', one where there is 'Chef Wolfgang Puck' and another when there is 'Chef Boyardee'

On February 14, Amazon abruptly dropped plans Thursday for a big new headquarters in New York that would have brought 25,000 jobs to the city.

Several politicians and activists objected to the nearly $3 billion in incentives promised to what is already one of the world's richest, most powerful companies.

'We are disappointed to have reached this conclusion - we love New York,' the online giant from Seattle said in a blog post announcing its withdrawal.

The stunning move was a serious blow to Governor Andrew Cuomo and Mayor Bill de Blasio, who had lobbied intensely to land the project.

New York City competed against more than 200 other metropolitan areas across the continent that were practically tripping over each other to offer incentives to Amazon in a bidding war the company stoked.

Cuomo lashed out at fellow New York politicians over Amazon's change of heart, saying the project would have helped diversify the city's economy, cement its status as an emerging tech hub and generate money for schools, housing and transit.

'A small group (of) politicians put their own narrow political interests above their community,' he said.

But Democratic Rep. Alexandria Ocasio-Cortez, New York City's new liberal firebrand, exulted over Amazon's pullout.

'Today was the day a group of dedicated, everyday New Yorkers and their neighbors defeated Amazon's corporate greed, its worker exploitation, and the power of the richest man in the world,' she tweeted, referring to Amazon CEO Jeff Bezos.

In pulling out, Amazon said it isn't looking for a replacement location 'at this time.' It said it plans to spread the technology jobs that were slated for New York to other offices around the U.S. and Canada, including Chicago, Toronto and Austin, Texas.

It will also expand its existing New York offices, which already have about 5,000 employees.