Hint $\ $ If $\rm\ 9\:|\:P(n)\ $ then $\rm \ 9\:|\:P(n\!+\!1) \iff 9\ | \ P(n\!+\!1)-P(n) = (n\!+\!3)^3 - n^3$
Or by $\mu$LTE: $\rm\bmod 3\!:\ n\equiv -1,0,1\,\overset{(\ \ )^{\large 3}}\Longrightarrow\, \bmod 3^2\!:\ n^3\equiv (-1)^3,0^3,1^3\,$ with sum $\equiv 0$
LTE also works for the hint's inductive step: $\rm\bmod 3\!:\, n\!+\!3\equiv n\Rightarrow \bmod 3^2\!:\, (n\!+\!3)^3\!\equiv n^3$
Remark $ $ The hint can be viewed as arising from rewriting $\rm\: P(n)\: $ as a telescoping series
$$\rm P(n) \,=\, (P(n)\!-\!P(n\!-\!1)) + (P(n\!-\!1)\!-\!P(n\!-\!2)) +\: \cdots\: + (P(1)\!-\!P(0))+\ P(0) $$
Thus $\rm \, 9\mid P(n)\ $ if it divides all RHS terms,$\ $ i.e.$\ $ all differences $\rm \, P(i+1)\!-\!P(i)\, $ and $\rm\ P(0).\,$ Since $\rm\,P\,$ is a polynomial, this difference has lower degree than $\rm\,P,\,$ so it reduces to a simpler problem.
Such telescopic transformations often simplify inductive proofs. See here for similar multiplicative telescopy.
Note that if you continue to iterate the above reduction then it amounts to showing that the coefficients $\rm \Delta^k P(0)$ in Newton's forward difference formula are all divisible by $9$. Indeed we have
$$\rm P(n)\ =\ 9 + 27\ n + 36\ \binom{n}2 + 18\ \binom{n}3 \qquad$$
Equivalently, we could simply check that four consecutive values of $\rm\:P\:$ are multiples of $\,9$. Analogous remarks hold true for any $\rm\:P(n)\:$ that satisfies a monic linear recurrence with polynomial coefficients (or, much more generally, for proving identities of multivariate holonomic functions). While this view is overkill here, it is essential when working with nontrivial examples.