partially innacurate, and france isn't entirely to blame.
france had offered to build the line from switzerland to the sea, and belgium went with a similarly stupid logic: "germany will inevitably invade us, so if we pretend germany isn't *inevitably* going to invade us, and remain neutral and play dead, germany won't invade us!" (germany invaded them)
also, when germany went to war with poland, they took EVERYTHING there, and were out of fuel for a whole week. France and Germany had similar militaries at the time, France's a little better, and yet France just shelled some chickens in germany for a year or something.