The main purpose of this legislation, known as the "Merit Restoration Act," is to prohibit federal research agencies and recipients of federal research grants from engaging in certain diversity, equity, or inclusion practices that are deemed unacceptable. The objective is to ensure that federal research funding is awarded and managed based on merit rather than considerations related to race, ethnicity, or other identity factors.