The main purpose of this legislation, known as the Halting Inappropriate Limits Targeting Officers Now Act or the HILTON Act, is to prevent federal agencies from entering into contracts with businesses that discriminate against federal law enforcement officers. The goal is to ensure that these officers can access essential services without facing refusal based on their official duties.