The main purpose of this legislation is to extend the National Flood Insurance Program (NFIP) until December 31, 2026. This program provides flood insurance to property owners, renters, and businesses in flood-prone areas, helping them recover from flood damage. Key provisions of the legislation include amendments to existing laws that change the expiration dates of the NFIP.