He was fired for being sexist and an idiot, not for “telling the truth” as his sexist supporters would make it.
I do not know if you have read the memo, but it only objective is to find a way to hire more women in an effective way.
Personally I liked the proposition in the memo because it would allow for men and women to equally share child-duties.
That said I do not criticize google's decision to fire him as the overwhelmingly negative exposure the memo had was quite a damage to the company...
diversity and inclusion committee at google ask employees for feedback, the memo was a feedback saying "current policies do not work as expected, maybe offering more part time and family friendly jobs would allow both men and women that do want to spend time with their family to like working at google".