The examples you mentioned are not Gödel sentences, but rather Russell’s paradox and the liar paradox, respectively. A Gödel sentence for a theory T says “This sentence is not
provable by T.” Truth is very different from provability and, unlike provability, cannot be represented as an arithmetic formula.
See the section titled “Relationship with the liar paradox” in the Wikipedia article on the incompleteness theorems.