Let $\mathfrak{g}$ be a semi simple Lie algebra. Then $\mathfrak{g}$ can be written as direct sum of simple ideals.
For simplicity, we can write $\mathfrak{g}=\mathfrak{g}_1\oplus\mathfrak{g}_2$ where $\mathfrak{g}_1,\mathfrak{g}_2$ are simple ideals.
We then have $$[\mathfrak{g},\mathfrak{g}]=[\mathfrak{g}_1\oplus \mathfrak{g}_2, \mathfrak{g}_1\oplus \mathfrak{g}_2]= [\mathfrak{g}_1,\mathfrak{g}_1]\oplus [\mathfrak{g}_2,\mathfrak{g}_2]=\mathfrak{g}_1\oplus \mathfrak{g}_2=\mathfrak{g}$$
See that $\mathfrak{g}_1=[\mathfrak{g}_1, \mathfrak{g}_1], \mathfrak{g}_2=[\mathfrak{g}_2,\mathfrak{g}_2]$ as $\mathfrak{g}_1,\mathfrak{g}_2$ are simple ideals. Thus, we have $\mathfrak{g}=[\mathfrak{g},\mathfrak{g}]$.