“Just pass me, bro”

Grade 12 kid who doesn’t do any of the work, is disrespectful and barely attends class tells me “Just pass me, bro”.

Was I wrong to give him shit and throw him out of my class?

I teach a management class, I told him “this isn’t how the real world works, you can’t tell your boss “just pay me” if you don’t do the work”.