Detriment is the hurt or harm as a result of damage, loss, or a bad decision. The developers won the lawsuit, much to the detriment of the people who live near the construction site.
The meaning of detriment has not changed much from its roots in the Latin word, detrimentum, which is "a rubbing off, loss, damage, defeat." A detriment is a loss that wears you down. Smoking is a detriment to good health, as is standing in the snow barefooted. To the detriment of the people who clean the floors, we gave the girls scrambled eggs right before gymnastics class.