Modified Fitting Lemma:
Claim : If $G$ is a finite group and $f$ is an endomorphism of $G$, then for some $n \ge 1$, $G = \operatorname{ Ker } (f^{n}) \times \operatorname{ Im } (f^{n})$
Where $\text{ Ker } f^n$ means the kernel of $f^{n}$.
One Example which I have tried is identity map assume $n=1$ kernel will be trivial so $G = \operatorname { Ker } f \times \operatorname{ Im } f$.
Is the claim is true can anyone explain how? If not give an counter example.
$\renewcommand{\phi}{\varphi}$I have a version of Fitting's Lemma for non-commutative groups (which is contained in the proof of Theorem 4.1 of this 1985 paper, see also Theorem 4.2 of this 2013 paper), but you all you get in general is a semidirect product, the image of $f^{n}$ being not necessarily normal, as shown by Derek Holt's $S_{3}$ example.
The version from the 2013 paper sounds