While Luna 2 was the first to impact the Moon's surface, the first spacecraft to soft-land on the Moon was Luna 9 in 1959.
It's important to distinguish between the two, as "landing" can be interpreted differently.