How do pilots see at night if airplanes don't have front lights?
Short answer: they do have front lights!



Longer answer: There's lots of stuff for a ground vehicle (such as a car) to hit, because there's lots of stuff close to the ground.  There's not much in the air for an aircraft to hit, besides other aircraft.  Lights on an aircraft in flight are to help the airplane be seen, not to help the airplane see.

On landing, forward-pointed lights are nice to have, but since runways are illuminated, it's possible to land safely without them.  Airliners in particular will probably never be landing on a darkened runway and need to worry about hitting invisible terrain or obstacles ahead, because they're always either above the obstacles or they're on a known safe descent path.