Your problem was that you tried doing work. What you want to do as an employee is make it so they can’t fire you not that you are actually useful.
How would you advise making it so they can't fire you?
How would you advise making it so they can't fire you?