Baking is chemistry, and, 99% of the time you have to get it right.
I have, spectacularly, gotten it wrong. Fortunately, I saved the pound cake that was about to go into the oven without sugar — it just didn’t look right. The burned gingerbread had a soft middle and mixed well with ice cream.