The things most worth producing in the world are universally not profitable.
Note that there can be market distortions that either cause profitablity where it wouldn't otherwise be (e.g., government mandates) or prevent fully realizing costs (externalities).