Yeah, really.
At least read the decision: From page 85 of the PDF.
Under our precedents, rational-basis review is the appropriate standard for such challenges.
As we have explained, procuring an abortion is not a fundamental constitutional right because such a right has no basis in the Constitution’s text or in our Nation’s history. See supra, at 8–39.It follows that the
States may regulate abortion for legitimate reasons, and when such regulations are challenged under the Constitution, courts cannot “substitute their social and economic beliefs for the judgment of legislative bodies.”
<<snip>>
That respect for a legislature’s judgment applies even when the laws at issue concern matters of great social significance and moral substance. See, e.g., Board of Trustees of Univ. of Ala. v. Garrett, 531 U. S. 356, 365–368 (2001) (“treatment of the disabled”); Glucksberg, 521 U. S., at 728 (“assisted suicide”); San Antonio Independent School Dist. v. Rodriguez, 411 U. S. 1, 32–35, 55 (1973) (“financing public education”)
.A law regulating abortion, like other health and welfare laws, is entitled to a “strong presumption of validity.” Heller v. Doe, 509 U. S. 312, 319 (1993).
It must be sustained if there is a rational basis on which the legislature could have thought that it would serve legitimate state interests.
Also if you're familiar with the language of the Constitution, State "legislatures" are never used synonymously with "congress".
.