I am studying from Enderton's book "Elements of set theory" and I am struggling with the proof that "No set is equinumerous to its power set".
Here is the proof:
Let $g: A\rightarrow \mathcal{P}A$; we will construct a subset $B$ of $A$ that is not in ran $g$. Specifically, let $B = \{x\in A\mid x\notin g(x)\}$. Then $B\subseteq A$, but for each $x\in A$, $x\in B$ iff $x\notin g(x)$. Hence $B\neq g(x)$.
I saw on the web another proof that is almost the same and seems a tiny bit clearer, but I am having the same trouble. The doubt is: what prevents us from thinking that $x\notin g(x)$ is actually a contradiction, just like $x\neq x$, and that therefore $B=\emptyset$? This proof seems to assume that there must be an $x$ such that $x\notin g(x)$, but I don't see where this is coming from.
I am a just starting undergrad student, I am sorry if this question may be a bit naive. Thanks.