Let $G$ be a finite group, and $g$ be a an element of $G$. How could we go about proving $g^{|G|}=e$ without using cosets? I would admit Lagrange's theorem if a proof without talking about cosets can be found.
I have a proof for abelian groups which basically consists in taking the usual proof of Euler's theorem and using it in a group, I do not know if it can be modified to work in arbitrary finite groups.
The proof is as follows: the function from $G$ to $G$ that consists of mapping $h$ to $gh$ is a bijection. Therefore
$\prod\limits_{h\in G}h=\prod\limits_{h\in G}gh$ but because of commutativity $\prod\limits_{h\in G}gh=\prod\limits_{h\in G}g\prod\limits_{h\in G}h=g^{|G|}\prod\limits_{h\in G}h$.
So we have $\prod\limits_{h\in G}h=g^{|G|}\prod\limits_{h\in G}h$.
The cancellation property yields $e=g^{|G|}$.
I am looking for some support as to why it may be hard to prove this result without talking about cosets, or if possible an actual proof without cosets.
Thank you very much in advance, regards.