As alluded to in Graham Kemp's comment, you seem to be mixing up true statements with meaningful statements. Meaningful statements are sometimes called syntactically correct statements, and can be either true or false.
The negation of a true statement is false, and the negation of a false statement is true. So it stands to reason that, when you negated $\color{blue}{\exists x \; \lnot O(x)}$ ("some integers are not odd"), a true statement, you got $\color{red}{\forall x O(x)}$ ("all integers are odd"), a false statement.
On the other hand, the negation of a meaningful statement is meaningful. In this case, "some integers are not odd" and "all integers are odd" are both meaningful things to say (they make sense), even if one of them is completely wrong.