Google already employs some of the best software engineers in the world. In fact they’ve been laying off thousands of them. Google, like most big companies struggles to innovate because succeeding at a big company and making something fresh and new are different and often mutually exclusive skills.
If they could have built it themselves they would have.
Apparently they tried to acquire Wiz last year already, which means they've been thinking about it probably since before they let all those engineers go.