The main purpose of this legislative text is to improve and expand the Safe Streets and Roads for All program, which is part of the Infrastructure Investment and Jobs Act. The goal is to enhance safety on roads and streets, making them safer for all users, including pedestrians, cyclists, and drivers. Key provisions of the legislation include a requirement that at least 20 percent of the funds allocated for the program each year must be dedicated to specific planning grants for eligible projects aimed at improving road safety.