We will use the concept of telescoping series:
We know that $(a-1)^4 = a^{4}-4a^{3}+6a^{2}-4a+1$
Let $a = n$
$=> (n-1)^4 = n^4 - 4n³ + 6n² - 4n + 1 \quad$
$=> \quad n^4 \quad- (n-1)^4 = 4n^3 - 6n^2 + 4n - 1 \qquad$ ...(1)
Since this is an identity, it is true for every $n$, it will also be true for $n-1$ (you can also understand it by letting $a = n-1$ from the original $(a-1)^4$ identity and again rearranging)
$=> (n-1)^4 - (n-2)^4 = 4 (n-1)^3 - 6(n-1)² + 4(n-1) - 1 \qquad$ ...(2)
$=>(n-2)^4 - (n-3)^4 = 4 (n-2)^3 - 6(n-2)² + 4(n-2) - 1 \qquad$ ...(3)
We keep going down until we have
$=> \quad1^4 \quad-\quad 0^4 \quad = 4(1-0)³-6(1-0)² +4(1-0)-1 \qquad$ ...(n)
Adding all the equations (1) through (n), observe that every right term on the LHS (except $0^4$) is being cancelled out with every left term of the previous iteration (except $n^4$). Also we can simplify the RHS as well by combining the similar power terms. We result in the following
$=>n^4 - 0^4 = 4 \cdot (1^3+2^3+3^3...+n^3) - 6(1^2+2^2+3^2+...+n^2) + 4(1+2+3+...+n) - 1 \cdot n$
Substituting, $(1^2+2^2+3^2+...+n^2) = \frac{N \cdot (N+1) \cdot (2N+1)}{6} \quad$ and $ \quad (1+2+3+...+n) = \frac{N \cdot (N+1)}{2}$
You can simplify the equation to get $$(1^3+2^3+3^3...+n^3) = \left( \frac{n \cdot (n+1)}{2} \right)^2 $$
Generalisation: Using this approach you can inductively find any sum of ith powers from 1 to n by taking $n^{i+1} - (n-1)^{i+1}$ and following the same procedure as above