I was fired from my first software development job but eventually, that turned out well.
First firing!
I joined a small company in Udaipur as a software developer in 2010 after my graduation.
I was assigned some designing tasks by the senior. I did that for a few days but my interest was more in front-end work. So I asked the senior to assign me some front-end work (HTML / PHP). But he didn't assign any front work for a few days. Then I complained to the manager. And the next day I was fired. It was shocking for me.
My first software development job lasted 11 days.
When today I look at that incident, I feel good because that opened new possibilities for me.