It's better to do A than (to) do B
前后是对称的结构,有时把后面的to省略
如要用ing
Making friends is better than making enemies.