The main purpose of this legislation is to end the Shelter and Services Program operated by the Federal Emergency Management Agency (FEMA). This program currently provides support for sheltering and related activities, particularly in response to overcrowding in facilities managed by U.S. Customs and Border Protection. The bill aims to stop federal funding for these services, which are seen as providing benefits to individuals who are in the country illegally.