Not every idea is a good idea. But maybe a small part of it is, or maybe it can grow into one, or maybe it will lead to the next good idea, or maybe you just need to get all those lousy ideas out of the way so the good ones have room to breathe.
Or maybe it just feels good to write and this fixation on good vs bad ideas is the thing that’s in the way.