The main purpose of this legislation is to update and extend certain programs related to water infrastructure in the United States. Specifically, it aims to enhance the resilience and sustainability of both clean water and drinking water systems. This is important for ensuring that communities have reliable access to safe water, especially in the face of challenges like climate change and aging infrastructure. Key provisions of the legislation include the reauthorization of programs under two major laws: the Federal Water Pollution Control Act and the Safe Drinking Water Act.