The main purpose of this legislation is to enhance support for individuals experiencing homelessness during severe weather events. It aims to create a grant program that provides additional funding to improve emergency shelter capacity and services during extreme weather conditions, such as heat waves, storms, and cold snaps. Key provisions of the legislation include the establishment of a competitive grant program managed by the Secretary of Housing and Urban Development.