You could be a good worker and dedicated but if the staff or management decided they don't like you as a person they'll fire you.
I've been fired from places just because the manager decided on the first day they didn't like me and would bully me. Doesn't matter how hard I was working, if I showed up or if I was working overtime.