I want to prove for each set $S$ that $S\notin S$.
I know that I can prove this with the Regularity Axiom which says: $\exists x(x\in S) \implies (\exists y\in S)(\forall z \in S)(z \notin y)$
However if I take a simple example, let's say S = {a,{a},S} Then I can pick $y = a$ so that $a \notin a$ and {a}$ \notin a$ and $S \notin a$.
Where is my logic wrong?