Which parts of your business are not profitable?

Resources are limited. Should business only support the sales of things that actually make money? Considering P&L and COGS, under what circumstances would supporting something at a net loss be beneficial in the long term?