This is a question for the strict constitutionalists who believe we take the constitution literally, exactly as written.
Section 8 of Article 1 in known as the "enumerated powers" section. Here is where the various powers granted the congress are spelled out. The first article in that section is quoted, verbatim, below.
Section 8
1: The Congress shall have Power To lay and collect Taxes, Duties, Imposts and Excises, to pay the Debts and provide for the common Defence and general Welfare of the United States; but all Duties, Imposts and Excises shall be uniform throughout the United States;
Taking that literally, strictly as written, how does that limit the power of congress to legislate on any social program it chooses so long as it provides for the "general welfare"?
It is quite simple. The founders were educated and very literate. How can you interpret that any other way? Remember though, you are not supposed to interpret, you are to take it literally.
1.The general welfare has been interpreted to mean something that benefits all, not one particular segment of society. That, in itself, sets parameters.
2. As for the specifics of Article I, section 8,...
a. HamiltonÂ’s view was that this clause gave Congress the power to tax and spend for the general welfare, whatsoever they decide that might be.
b. William Drayton, in 1828, came down on the side of Madison, Jefferson and others, pointing out that if Hamilton was correct, what point would there have been to enumerate CongressesÂ’ other powers? If Congress wished to do anything it was not authorized to do, it could accomplish it via taxing and spending. He said, "If Congress can determine what constitutes the general welfare and can appropriate money for its advancement, where is the limitation to carrying into execution whatever can be effected by money?"
'Charity Not a Proper Function of the American Government' by Walter E. Williams
3. Until 1937, the Congress of the United States conducted its business within the boundaries of seventeen enumerated powers granted under Article I Section 8 of the United States Constitution; these powers
defined clearly the areas within which Congress could enact legislation including the allocation of funds and levying of taxes. Anything not set down in the enumerated powers was considered outside the purview of the national government and hence, a matter for the states. There were occasional challenges to the concept but it was not until Franklin Roosevelt's new deal that it was attacked in deadly earnestness.
4. "...how does that limit the power of congress to legislate on any social program it chooses...."
I'm going to guess that you believe in what is known as "a living Constitution."
Madison did not.
"If not only the means but the objects are unlimited,
the parchment [the Constitution] should be thrown into the fire at once." Brant, Irving “The Fourth President - A Life of James Madison,” p. 257.