Let $\mathbf F$ be a field of prime characteristic $p$. It is known that the Frobenius map $c\phi=c^p~~\forall c\in\mathbf F$ is an endomorphism of $\mathbf F$. Moreover, since the only ideals of $\mathbf F$ are $\{0\}$ and $\mathbf F$, we know that $\ker(\phi)=\{0\}$. This implies that $\phi$ is injective. It is known that $\phi$ is not surjective in general. However, if we consider the following argument below, it seems to me that $\phi$ must be an automorphism (i.e., a bijective endomorphism).
"We claim that $\mathbf F/\{0\}\cong\mathbf F$. Consider the homomorphism $\theta:\mathbf F/\{0\}\rightarrow\mathbf F$ given by $(\{0\}+r)\theta=r$, where $r\in\mathbf F$. Then it is easy to show that it is both injective and surjective; and so our claim holds. However, we also know by the First Ring Isomorphism Theorem that $\mathbf F/\ker(\phi)\cong \text{im}(\phi)$. So we conclude that $\text{im}(\phi)\cong\mathbf F$. But $\text{im}(\phi)\subseteq\mathbf F$ so necessarily $\text{im}(\phi)=\mathbf F$. Therefore $\phi$ is an automorphism of $\mathbf F$."
Could someone tell me where the mistake lies?