The impact of wealth on the amount and quality of child labor