An act to provide for the general welfare by establishing a system of Federal old-age benefits. (ssa.gov)
The benefits behind this were things like aid to dependent children, disability insurance, and unemployment insurance.