The Ultimate Source of Profit and Loss on the Market–Mises

What produces a man’s profit in the course of affairs within an unhampered market society is not his fellow citizen’s plight and distress but the fact that he alleviates or entirely removes what causes his fellow citizen’s feeling of uneasiness. What hurts the sick is the plague, not the physician who treats the disease. The doctor’s gain is not an outcome of the epidemics but of the aid he gives to those affected. The ultimate source of profits is always the foresight of future conditions. Those who succeeded better than others in anticipating future events and in adjusting their activities to the future state of the market reap profits because they are in a position to satisfy the most urgent needs of the public. The profits of those who have produced goods and services for which the buyers scramble are not the source of the losses of those who have brought to the market commodities in the purchase of which the public is not prepared to pay the full amount of production costs expended. These losses are caused by the lack of insight displayed in anticipating the future demand of the consumers.”

https://mises.org/library/ultimate-source-profit-and-loss-market