Wishing in the dark is like shooting a gun in the dark. You never know if/when you’re going to hit exactly what you’re aiming for. “Dark” refers to evil, negative wishes that people make when they are angry or sad therefore usually regretting afterwards.
You know the old saying: be careful what you wish for because it might come true