\[(a + b)(a - b)\left( a^{2} + b^{2} \right) =\]
\[= \left( a^{2} - b^{2} \right)\left( a^{2} + b^{2} \right) = a^{4} - b^{4}\]