The main purpose of this legislation is to extend the National Flood Insurance Program (NFIP) until December 31, 2026. This program is crucial for providing flood insurance to homeowners, businesses, and communities in flood-prone areas, helping them recover from flood-related damages. Key provisions of this legislation include amendments to existing laws that change the expiration dates of the NFIP.