Stop lying to yourself! You don't buy candy to pass out to children who go trick or treating on Halloween. You buy that candy so you can enjoy it yourself. It's a holiday where you can gorge yourself, without shame, on chocolates, licorice, and other candies. Just be honest about it.
I've heard many people say that the number of children who come trick or treating to their homes has been decreasing over recent years. However, I don't hear them saying that they buy less candy. They to continue to purchase those huge bags filled with dozens of tiny candy bars or other treats. And they specifically buy candy that they enjoy themselves, knowing they will get to eat most of that candy. Sure, they may pass out a small percentage to the children that show up, but most of the candy will never make it outside. It will be consumed by the purchaser and their family.
You'll probably end up eating too much candy, in too short of a time. And blame the fact on not enough children showing up at your house. Just stop lying to others and yourself. Just admit that most of the candy is for yourself. In the end, the honesty will make you feel better. And you won't have to gorge down all of that candy so quickly. Instead, you can take your time, enjoying just a little candy at a time.
Sure, there are some exceptions, people who buy candy they dislike so they won't eat them even if not enough children show up on Halloween. And there will be some people who have numerous children show up on Halloween so that they have little, if any, candy remaining at the end of the night. However, those are exceptions and the majority of people will eat lots of excess candy during the days after Halloween.
You also don't need the excuse of the Halloween holiday to buy and enjoy candy any time of the year. Candy is delicious, and you can enjoy it in moderation year round. It's a bad habit to horde all of the candy for a single time of the year (or maybe two if you count Easter). Do you really need all of that sugar within a few days? Nah, it is much better to spread out your candy love throughout the months and stop bingeing on Halloween candy.