Subsistence farmers in developing countries often have quite happy lives. I've lived in PNG, and the biggest thing they lack is health care, but that's getting better all the time.
Farmers in developed western countries probably have it worse. Supermarkets have driven prices down to ridiculous levels, so the profit of, for example, dairy farmers is very low. There are reasons the suicide rates in rural areas is high.