Beef is heavily subsidised either by giving money directly to the producers, or letting them get away with pollution (or deforestation in places like Brazil) and using terrible food and/or drugs for their product.
Without subsidies I'm pretty sure beef wouldn't be affordable even in rich countries.