[guided]Assume now that the Killing form is nondegenerate. We want to prove that $\mathfrak g$ is semisimple, so we must prove that its solvable radical is zero. Let
\begin{align*}
\mathfrak r:=\operatorname{rad}(\mathfrak g)
\end{align*}
denote the largest solvable ideal of $\mathfrak g$.
Suppose, toward a contradiction, that $\mathfrak r\neq 0$. A nonzero solvable Lie algebra always has a last nonzero term in its derived series. Define the derived series by
\begin{align*}
\mathfrak r_0 &:= \mathfrak r,\\
\mathfrak r_{m+1} &:= [\mathfrak r_m,\mathfrak r_m]\quad \text{for } m\geq 0.
\end{align*}
Since $\mathfrak r$ is solvable, this series eventually reaches $0$. Since $\mathfrak r_0\neq 0$, there is an integer $N\geq 0$ such that
\begin{align*}
\mathfrak r_N\neq 0,
\qquad
\mathfrak r_{N+1}=0.
\end{align*}
Define
\begin{align*}
\mathfrak a:=\mathfrak r_N.
\end{align*}
Then $\mathfrak a$ is nonzero. Moreover,
\begin{align*}
[\mathfrak a,\mathfrak a]
=
[\mathfrak r_N,\mathfrak r_N]
=
\mathfrak r_{N+1}
=
0,
\end{align*}
so $\mathfrak a$ is abelian.
We also need $\mathfrak a$ to be an ideal of $\mathfrak g$, because the next step will use the action of arbitrary elements of $\mathfrak g$ on $\mathfrak a$. We prove that every $\mathfrak r_m$ is an ideal of $\mathfrak g$. The base case is $\mathfrak r_0=\mathfrak r$, which is an ideal by definition of the radical. Suppose $\mathfrak r_m$ is an ideal. If $z\in\mathfrak g$ and $u,v\in\mathfrak r_m$, then the Jacobi identity gives
\begin{align*}
[z,[u,v]]=[[z,u],v]+[u,[z,v]].
\end{align*}
Because $\mathfrak r_m$ is an ideal, both $[z,u]$ and $[z,v]$ lie in $\mathfrak r_m$. Therefore both terms on the right lie in $[\mathfrak r_m,\mathfrak r_m]$, and hence
\begin{align*}
[z,[u,v]]\in[\mathfrak r_m,\mathfrak r_m]=\mathfrak r_{m+1}.
\end{align*}
Thus $\mathfrak r_{m+1}$ is an ideal of $\mathfrak g$. By induction, $\mathfrak a=\mathfrak r_N$ is a nonzero abelian ideal of $\mathfrak g$.[/guided]