Use the distributive property to multiply $x-2$ by $x+3$ and combine like terms.
$$x^{2}+x-6=\left(x-7\right)\left(x+7\right)$$
Consider $\left(x-7\right)\left(x+7\right)$. Multiplication can be transformed into difference of squares using the rule: $\left(a-b\right)\left(a+b\right)=a^{2}-b^{2}$. Square $7$.