The sentence is grammatically correct. It says basically that a person must do what he is supposed to do -- which is a bit circular logically, though possible. But it doesn't say that he must take responsibility for his actions, if that's what you're trying to say.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.