The main purpose of this legislation is to prevent discrimination based on race or sex in specific programs managed by the Department of Agriculture. It aims to ensure that all individuals have equal access to agricultural support and resources, promoting fairness and merit-based decision-making. Key provisions of the law include a clear prohibition against using race or sex as criteria in the administration of certain agricultural programs. The Secretary of Agriculture is required to manage these programs in a way that emphasizes fairness and equal opportunity.