I feel the same way. And to be honest, I rarely attend parties bearing food as gift. I don’t have the time to cook my food let alone take one to an event.
But if I want to avoid embarrassment and I can't cook, I order and take the food there. I prefer the host serve snacks and drinks if they can't afford to feed their guest cooked meals.