Yes, this is true!
In the early times of the solar system, when the planets were still being formed there were many impacts. For example, it is thought that the mood is a result of such an impact: another celestial body hit Earth and part of it remains as today's moon. Such impacts are no longer typical.