Sort of. They can use the debt to grow, in which case they’re betting that they will get more profit than the principal plus interest payments. (Beating a 4% return on the loan, not the whole company)
They could also use it to change the capital structure buying back shares. This simultaneously increases risk and share price, unless the reissue more shares.
In both cases, if they can’t pay the interest payments, the company gets handed over to the creditors. Not an issue for Google, but a lot of startups struggle with venture debt.