The main purpose of this legislation, known as the "No Rewards for January 6 Rioters Act," is to prevent the use of federal funds to compensate individuals who were prosecuted for their involvement in the January 6, 2021 attack on the U.S. Capitol. The objective is to ensure that those who participated in this violent event do not receive financial rewards or compensation from government sources, even if they are later pardoned. Key provisions of the law include a clear prohibition on the use of federal funds to compensate anyone prosecuted for their role in the Capitol attack.