Bastiat's idea that Napoleon could not make France more wealthy by burning Paris or by breaking all the windows in France or by paying workers to dig holes and cover them up without withdrawing resources from the economy is known as "crowding out." Government activity crowds out private activity. There is an irony to crowding out that exposes just how foolish Keynes' recycling of Napoleon's idea is.
If the government decides to boost the economy by paying workers to grow potatoes and make potato chips, then private potato chip makers are crowded out. However, if the government decides to dig holes and fill them in, no private "hole-digger-filler-iners" are crowded out, because the market does not perform useless tasks.
So the more useless the government's spending is, the less it crowds out private spending. Hence, Keynes is wrong in any case. But Keynes' government spending would do the most damage to the private economy if the government did something useful.
Fortunately, government mostly concentrates on useless production, such as giving cocaine to monkeys, constructing bridges to nowhere, and building tunnels for turtles to walk under the highway.