The main purpose of this legislation, known as the Community Investment and Prosperity Act, is to enable national banks and state member banks to increase their investments aimed at promoting public welfare. This means that banks will have more flexibility to invest in projects and initiatives that benefit communities, such as affordable housing, small business development, and other social programs. Key provisions of the Act include amendments to existing laws that govern how much banks can invest in public welfare projects.