No, it was because Gen. Kelly wanted him gone.
You clearly don't remember the chronology.
"Trump eviscerates Steve Bannon in a blistering statement: 'He not only lost his job, he lost his mind'"
https://www.businessinsider.com/trump-says-steve-bannon-lost-his-mind-2018-1
Sloppy Steve Bannon, who cried when he got fired and begged for his job. Now Sloppy Steve has been dumped like a dog by almost everyone. Too bad!
https://twitter.com/realDonaldTrump/status/949498795074736129
Trump was LIVID at him.
Trump sort of forgave him a few months ago, but Bannon remains an outcast in Trump world.
You don't dump on family, as Bannon clearly did, and remain inside the camp. That's true everywhere in the world, but even more so with Trump.
Aug. 18, 2017 Steve Bannon, chief White House strategist, removed from role
“White House chief of staff John Kelly and Steve Bannon have mutually agreed today would be Steve’s last day,” it read. “We are grateful for his service and wish him the best.”