"the preamble to the U.S. Constitution" is not law. However, "general welfare" does appear in Article 1 section 8 also. And that is law.