New York Mayor Bill de Blasio (D) on Sunday blamed Amazon for canceling its planned headquarters in New York City, saying the tech giant "walked away" as soon as there was criticism.

"They said they wanted a partnership. But the minute there were criticisms, they walked away. What does that say to working people, that a company would leave them high and dry, simply because some people raised criticisms?" he asked during an interview on NBC's "Meet the Press."

WATCH: NYC Mayor Bill de Blasio says Amazon made an “arbitrary decision” to give up on plans for an expansion in Queens. #MTP #IfItsSunday@NYCMayor: “The minute there were criticisms, they walked away.” pic.twitter.com/dLj7R4ExUj — Meet the Press (@MeetThePress) February 17, 2019

ADVERTISEMENT

Amazon last Thursday announced it was canceling plans to open half of its second headquarters in Long Island.

The decision followed backlash from activists and local lawmakers, who expressed outrage over a package of $3 billion in state and city incentives to Amazon and voiced concerned that the headquarters would adversely impact poor residents.

De Blasio added Sunday that it was "Amazon's arbitrary decision" to abandon its plans and said nobody "chased away" Amazon.

"We had an agreement. If I made an agreement with you, and there were issues that came up, but we had an agreement, you wouldn't call me in the dead of night and say, 'Hey, we're taking our marbles, and we're going home,' " he said.

"Let's be clear about who made this decision. And this is the problem. When you have so much wealth and power in the hands of very few, it does not work for working people. I say, there is plenty of money in this world, plenty of money in this country. But it's in the wrong hands. And Amazon is making my point for me. What they did was arbitrary and unfair to working people," de Blasio added.

The mayor added that Amazon confirmed "people's worst fears about corporate America."

"Amazon just took their ball and went home. And what they did was confirm people’s worsts fears about corporate America. Here's the 1 percent dictating to everyone else even though we gave them a fair deal," he said.