This would have to be used in a certain context. For example:
A: Nobody hits me and gets away with it. B: But you were making unwanted advances. A: This is my boat and I'll do whatever I want on it. B: I want to go ashore. A: Then you'll have to swim. B: That's ridiculous. Someone take me back. A: Everyone here works for me and what I say goes. B: I'm
because it is in a book that I'm studying. I never came across such sentences before. I'm a beginner ,sorry -- There is no shame in being a beginner—we all were once— but it is curious that you would wonder about that particular sentence's correctness, since it comes from a book full of sentences. Anonymous has given you one scenario for its use. As a statement of despair instead of a que