Mr. Justice Stewart
delivered the opinion of the Court.
This case presents statutory and constitutional questions concerning the public funding of abortions under Title XIX of the Social Security Act, commonly known as the “Medicaid” Act, and recent .annual Appropriations Acts containing the so-called “Hyde Amendment.” The statutory question is whether Title XIX requires a State that participates in the Medicaid program to fund the cost of medically necessary abortions for which federal reimbursement is unavailable under the Hyde Amendment. The constitutional question, which arises only if Title XIX imposes no such requirement, is whether the Hyde Amendment, by denying public funding for certain medically necessary abortions, contravenes the liberty or equal protection guarantees of the Due Process Clause of the Fifth Amendment, or either of the Religion Clauses of the First Amendment.
I
The Medicaid program was created in 1965, when Congress added Title XIX to the Social Security Act, 79 Stat. 343, as amended, 42 U. S. C. § 1396 et seq. (1976 ed. and Supp. II), for the purpose of providing federal financial assistance to States that choose to reimburse certain costs of medical treatment for needy persons. Although participation in the Medicaid program is entirely optional, once a State elects to participate, it must comply with the requirements of Title XIX.
One such requirement is that a participating State agree to provide financial assistance to the “categorically needy” with respect to five general areas of medical treatment: (1) inpatient hospital services, (2) outpatient hospital services, (3) other laboratory and X-ray services, (4) skilled nursing facilities services, periodic screening and diagnosis of children, and family planning services, and (5) services of physicians. 42 U. S. C. §§ 1396a (a)(13)(B), 1396d (a)(l)-(5). Although a participating State need not “provide funding for all medical treatment falling within the five general categories, [Title XIX] does require that [a] state Medicaid pla[n] establish ‘reasonable standards ... for determining . .. the extent of medical assistance under the plan which . . . are consistent with the objectives of [Title XIX].’ 42 U. S. C. § 1396a (a) (17).” Beal v. Doe, 432 U. S. 438, 441.
Since September 1976, Congress has prohibited — either by an amendment to the annual appropriations bill for the Department of Health, Education, and Welfare or by a joint resolution — the use of any federal funds to reimburse the cost of abortions under the Medicaid program except under certain specified circumstances. This funding restriction is commonly known as the “Hyde Amendment,” after its original congressional sponsor, Representative Hyde. The current version of the Hyde Amendment, applicable for fiscal year 1980, provides:
“[N]one of the funds provided by this joint-resolution shall be used to perform abortions except where the life of the mother would be endangered if the fetus were carried to term; or except for such medical procedures necessary for the victims of rape or incest when such . rape or incest has been reported promptly to a law enforcement agency or public health service.” Pub. L. '96-123, § 109, 93 Stat. 926.
See also Pub. L. 96-86, § 118, 93 Stat. 662. This version of the Hyde Amendment is broader than that applicable for fiscal year 1977, which did not include the “rape or incest” exception, Pub. L. 94-439, § 209, 90 Stat. 1434, but narrower than that applicable for most of fiscal year 1978, and all of fiscal year 1979, which had an additional exception for “instances where severe and long-lasting physical health damage to the mother would result if the pregnancy were carried to term when so determined by two physicians,” Pub. L. 95-205, § 101, 91 Stat. 1460; Pub. L. 95-480, § 210, 92 Stat. 1586.
On September 30, 1976, the day on which Congress enacted the initial version of the Hyde Amendment, these consolidated cases were filed in the District Court for the Eastern District of New York. The plaintiffs — Cora McRae, a New York Medicaid recipient then in the first trimester of a pregnancy that she wished to terminate, the New York City Health and Hospitals Corp., a public benefit corporation that operates 16 hospitals, 12 of which provide abortion services, and others — sought to enjoin the enforcement of the funding restriction on abortions. They alleged that the Hyde Amendment violated the First, Fourth, Fifth, and Ninth Amendments of the Constitution insofar as it limited the funding of abortions to those necessary to save the life of the mother, while permitting the funding of costs associated with childbirth. Although the sole named defendant was the Secretary of Health, Education, and Welfare, the District Court permitted Senators James L. Buckley and Jesse A. Helms and Representative Henry J. Hyde to intervene as defendants.
After a hearing, the District Court entered a preliminary injunction prohibiting the Secretary from enforcing the Hyde Amendment and requiring him to continue to provide federal reimbursement for abortions under the standards applicable before the funding restriction had been enacted. McRae v. Mathews, 421 F. Supp. 533. Although stating that it had not expressly held that the funding restriction was unconstitutional, since the preliminary injunction was not its final judgment, the District Court noted that such a holding was “implicit” in its decision granting the injunction. The District Court also certified the McRae case as a class action on behalf of all pregnant or potentially pregnant women in the State of New York eligible for Medicaid and who decide to have an abortion within the first 24 weeks of pregnancy, and of all authorized providers of abortion services to such women. Id., at 543.
The Secretary then brought an appeal to this Court. After deciding Beal v. Doe, 432 U. S 438, and Maher v. Roe, 432 U. S. 464, we vacated the injunction of the District Court and remanded the case for reconsideration in light of those decisions. Califano v. McRae, 433 U. S. 916.
On remand, the District Court permitted the intervention of several additional plaintiffs, including (1) four individual Medicaid recipients who wished to have abortions that allegedly were medically necessary but did not qualify for federal funds under the versions of the Hyde Amendment applicable in fiscal years 1977 and 1978, (2) several physicians who perform abortions for Medicaid recipients, (3) the Women’s Division of the Board of Global Ministries of the United Methodist Church (Women’s Division), and (4) two individual officers of the Women’s Division.
An amended complaint was then filed, challenging the various versions of the Hyde Amendment on several grounds.. At the outset, the plaintiffs asserted that the District Court need not address the constitutionality of the Hyde Amendment because, in their view, a participating State remains obligated under Title XIX to fund all medically necessary abortions, even if federal reimbursement is unavailable. With regard to the constitutionality of the Hyde Amendment, the plaintiffs asserted, among other things, that the funding restrictions violate the Religion Clauses of the First Amendment and the Due Process Clause of the Fifth Amendment.
After a lengthy trial, which inquired into the medical reasons for abortions and the diverse religious views on the subject, the District Court filed an opinion and entered a judgment invalidating all versions of the Hyde Amendment on constitutional grounds. The District Court rejected the plaintiffs’ statutory argument, concluding that even though Title XIX would otherwise have required a participating State to fund medically necessary abortions, the Hyde Amendment had substantively amended Title XIX to relieve a State of that funding obligation. Turning then to the constitutional issues, the District Court concluded that the Hyde Amendment, though valid under the Establishment Clause, violates the equal protection component of the Fifth Amendment’s Due Process Clause and the Free Exercise Clause of the First Amendment. With regard to the Fifth Amendment, the District Court noted that when an abortion is "medically necessary to safeguard the pregnant woman’s health, . . . the disentitlement to [M]edieaid assistance impinges directly on the woman’s right to decide, in consultation with her physician and in reliance on his judgment, to terminate her pregnancy in order to preserve her health.” McRae v. Califano, 491 F. Supp. 630, 737. The court concluded that the Hyde Amendment violates the equal protection guarantee because, in its view, the decision of Congress to fund medically necessary services generally but only certain medically necessary abortions serves no legitimate governmental interest. As to the Free Exercise Clause of the First Amendment, the court held that insofar as a woman’s decision to seek a medically necessary abortion may be a product of her religious beliefs under certain Protestant and Jewish tenets, the funding restrictions of the Hyde Amendment violate that constitutional guarantee as well.
Accordingly, the District Court ordered the Secretary to “[c]ease to give effect” to the various versions of the Hyde Amendment insofar as they forbid payments for medically necessary abortions. It further directed the Secretary to “[cjontinue to authorize the expenditure of federal matching funds [for such abortions].” App. 87. In addition, the court recertified the McRae case as a nationwide class action on behalf of all pregnant and potentially pregnant women eligible for Medicaid who wish to have medically necessary abortions, and of all authorized providers of abortions for such women:
The Secretary then applied to this Court for a stay of the judgment pending direct appeal of the District Court’s decision. We denied the stay, but noted probable jurisdiction of this appeal. 444 U. S. 1069.
II
It is well settled that if a case may be decided on either statutory or constitutional grounds, this Court, for sound jurisprudential reasons, will inquire first into the statutory question. This practice reflects the deeply rooted doctrine “that we ought not to pass on questions of constitutionality . . . unless such adjudication is unavoidable.” Spector Motor Service, Inc. v. McLaughlin, 323 U. S. 101, 105. Accordingly, we turn first to the question whether Title XIX requires a State that participates in the Medicaid program to continue to fund those medically necessary abortions for which federal reimbursement is unavailable under the Hyde Amendment. If a participating State is under such an obligation, the constitutionality of the Hyde Amendment need not be drawn into question in the present case, for the availability of medically necessary abortions under Medicaid would continue, with the participating State shouldering the total cost of funding such abortions.
The appellees assert that a participating State has an independent funding obligation under Title XIX because (1) the Hyde Amendment is, by its own terms, only a limitation on federal reimbursement for certain medically necessary abortions, and (2) Title XIX does not permit a participating State to exclude from its Medicaid plan any medically necessary service solely on the basis of diagnosis or condition, even if federal reimbursement is unavailable for that service. It is thus the appellees’ view that the effect of the Hyde Amendment is to withhold federal reimbursement for certain medically necessary abortions, but not to relieve a participating State of its duty under Title XIX to provide for such abortions in its Medicaid plan.
The District Court rejected this argument. It concluded that, although Title XIX would otherwise have required a participating State to include medically necessary abortions in its Medicaid program, the Hyde Amendment substantively amended Title XIX so as to relieve a State of that obligation. This construction of the Hyde Amendment was said to find support in the decisions of two Courts of Appeals, Preterm, Inc. v. Dukakis, 591 F. 2d 121 (CA1 1979), and Zbaraz v. Quern, 596 F. 2d 196 (CA7 1979), and to be consistent with the understanding of the effect of the Hyde Amendment by the Department of Health,. Education, and Welfare in the administration of the Medicaid program.
We agree with the District Court, but for somewhat different reasons. The Medicaid program created by Title XIX is a cooperative endeavor in which the Federal Government provides financial assistance to participating States to aid them in furnishing health care to needy persons. Under this system of “cooperative federalism,” King v. Smith, 392 U. S. 309, 316, if a State agrees to establish a Medicaid plan that satisfies the requirements of Title XIX, which include several mandatory categories of health services, the Federal Government agrees to pay a specified percentage of “the total amount expended ... as medical assistance under the State plan. . . .” 42 U. S. C. § 1396b (a)(1). The cornerstone of Medicaid is financial contribution by both the Federal Government and the participating State. Nothing in Title XIX as originally enacted, or in its legislative history, suggests that Congress intended to require a participating State to assume the full costs of providing any health services in its Medicaid plan. Quite the contrary, the purpose of Congress in enacting Title XIX was to provide federal financial assistance for all legitimate state expenditures under an approved Medicaid plan. See S. Rep. No. 404, 89th Cong., 1st Sess., pt. 1, pp. 83-85 (1965); H. R. Rep. No. 213, 89th Cong., 1st Sess., 72-74 (1965).
Since the Congress that enacted Title XIX did not intend a participating State to assume a unilateral funding obligation for any health service in an approved Medicaid plan, it follows that Title XIX does not require a participating State to include in its plan any services for which a subsequent Congress has withheld federal funding. Title XIX was designed as a cooperative program of shared financial responsibility, not as a device for the Federal Government to compel a State to provide services that Congress itself is unwilling to fund. Thus, if Congress chooses to withdraw federal funding for a particular service, a State is not obliged to continue to pay for that service as a condition of continued federal financial support of other services. This is not to say that Congress may not now depart from the original design of Title XIX under which the Federal Government shares the financial responsibility for expenses incurred under an approved Medicaid plan. It is only to say that, absent an indication of contrary legislative intent by a subsequent Congress, Title XIX does not obligate a participating State to pay for those medical services for which federal reimbursement is unavailable.
Thus, by the normal operation of Title XIX, even if a State were otherwise required to include medically necessary abortions in its Medicaid plan, the withdrawal of federal funding under the Hyde Amendment would operate to relieve the State of that obligation for those abortions for which federal reimbursement is unavailable. The legislative history of the Hyde Amendment contains no indication whatsoever that Congress intended to shift the entire cost of such services to the participating States. See Zbaraz v. Quern, supra, at 200 (“no one, whether supporting or opposing the Hyde Amendment, ever suggested that state, funding would be required”). Rather, the legislative history suggests that Congress has always assumed that a participating State would not be required to fund medically necessary abortions once federal funding was withdrawn pursuant to the Hyde Amendment. See Preterm, Inc. v. Dukakis, supra, at 130 (“[t]he universal assumption in debate was that if the Amendment passed there would be no requirement that states carry on the service”). Accord, Zbaraz v. Quern, supra, at 200; Hodgson v. Board of County Comm’rs, 614 F. 2d 601, 612-613 (CA8 1980); Roe v. Casey, 623 F. 2d 829, 834-837 (CA3 1980). Accordingly, we conclude that Title XIX does not require a participating State to pay for those medically necessary abortions for which federal reimbursement is unavailable under the Hyde Amendment.
Ill
Having determined that Title XIX does not obligate a participating State to pay for those medically necessary abortions for which Congress has withheld federal, funding, we must consider the constitutional validity of the Hyde Amendment. The appellees assert that the funding restrictions of the Hyde Amendment violate several rights secured by the Constitution — (1) the right of a woman, implicit in the Due Process Clause of the Fifth Amendment, to decide whether to terminate a pregnancy, (2) the prohibition under the Establishment Clause of the First Amendment against any “law respecting an establishment of religion,” and (3) the right to freedom of religion protected by the Free Exercise Clause of the First Amendment. The appellees also contend that, quite apart from substantive constitutional rights, the Hyde Amendment violates the equal protection component of the Fifth Amendment.
It is well settled that, quite apart from the guarantee of equal protection, if a law “impinges upon a fundamental right explicitly or implicitly secured by the Constitution [it] is presumptively unconstitutional.” Mobile v. Bolden, 446 U. S. 55, 76 (plurality opinion). Accordingly, before turning to the equal protection issue in this case, we examine whether the Hyde Amendment violates any substantive rights secured by the Constitution.
A
We address first the appellees’ argument that the Hyde Amendment, by restricting the availability of certain medically necessary abortions under Medicaid, impinges on the “liberty” protected by the Due Process Clause as recognized in Roe v. Wade, 410 U. S. 113, and its progeny.
In the Wade case, this Court held unconstitutional a Texas statute making it a crime to procure or attempt an abortion except on medical advice for the purpose of saving the mother’s life. The constitutional underpinning of Wade was a recognition that the “liberty” protected by the Due Process Clause of the Fourteenth Amendment includes not only the freedoms explicitly mentioned in the Bill of Rights, but also a freedom of personal choice in certain matters of marriage and family life. This implicit constitutional liberty, the Court in Wade held, includes the freedom of a woman to decide whether to terminate a pregnancy.
But the Court in Wade also recognized that a State has legitimate interests during a pregnancy in both ensuring the health of the mother and protecting potential human life. These state interests, which were found to be “separate and distinct” and to “gro[w] in substantiality as the woman approaches term,” id., at 162-163, pose a conflict with a woman’s untrammeled freedom of choice. In resolving this conflict, the Court held that before the end of the first trimester of pregnancy, neither state interest is sufficiently substantial to justify any instrusion on the woman’s freedom of choice. In the second trimester, the state interest in maternal health was found to be sufficiently substantial to justify regulation reasonably related to that concern. And at viability, usually in the third trimester, the state interest in protecting the potential life of the fetus was found to justify a criminal prohibition against abortions, except where necessary for the preservation of the life or health of the mother. Thus, inasmuch as the Texas criminal statute allowed abortions only where necessary to save the life of the mother and without regard to the stage of the pregnancy, the Court held in Wade that the statute violated the Due Process Clause of the Fourteenth Amendment.
In Maher v. Roe, 432 U. S. 464, the Court was presented with the question whether the scope of personal constitutional freedom recognized in Roe v. Wade included an entitlement to Medicaid payments for abortions that are hot medically necessary. At issue in Maher was a Connecticut welfare regulation under which Medicaid recipients received payments for medical services incident to childbirth, but not for medical services incident to nontherapeutic abortions. The District Court held that the regulation violated the Equal Protection Clause of the Fourteenth Amendment because the unequal subsidization of childbirth and abortion impinged on the “fundamental right to abortion” recognized in Wade and its progeny.
It was the view of this Court that “the District Court misconceived the nature and scope of the fundamental right recognized in Roe.” 432 U. S., at 471. The doctrine of Roe v. Wade, the Court held in Maher, “protects the woman from unduly burdensome interference with her freedom to decide whether to terminate her pregnancy,” id., at 473-474, such as the severe criminal sanctions at issue in Roe v. Wade, supra, or the absolute requirement of spousal consent for an abortion challenged in Planned Parenthood of Central Missouri v. Danforth, 428 U. S. 52.
But the constitutional freedom recognized in Wade and its progeny, the Maher Court explained, did not prevent Connecticut from making “a value judgment favoring childbirth over abortion, and . . . implement [ing] that judgment by the allocation of public funds.” 432 U. S., at 474. As the Court elaborated:
“The Connecticut regulation before us is different in kind from the laws invalidated in our previous abortion decisions. The Connecticut regulation places no obstacles — absolute or otherwise — in the pregnant woman’s path to an abortion. An indigent woman who desires an abortion suffers no disadvantage as a consequence of Connecticut’s decision to fund childbirth; she continues as before to be dependent on private sources for the service she desires. The State may have made childbirth a more attractive alternative, thereby influencing the woman’s decision, but it has imposed no restriction on access to abortions that was not already there. The indigency that may make it difiicult — and in some cases, perhaps, impossible — for some women to have abortions is neither created nor in any way affected by the Connecticut regulation.” Ibid.
The Court in Maher noted that its description of the doctrine recognized in Wade and its progeny signaled “no retreat” from those decisions. In explaining why the constitutional principle recognized in Wade and later cases— protecting a woman's freédom of choice — did not translate into a constitutional obligation of Connecticut to subsidize abortions, the Court cited the “basic difference between direct state interference with a protected activity and state encouragement of an alternative activity consonant with legislative policy. Constitutional concerns are greatest when the State attempts to impose its will by force of law; the State’s power to encourage actions deemed to be in the public interest is necessarily far broader.” 432 U. S., at 475-476 (footnote omitted). Thus, even though the Connecticut regulation favored childbirth over abortion by means of subsidization of one and not the other, the Court in Maher concluded that the regulation did not impinge on the constitutional freedom recognized in Wade because it imposed no governmental restriction on access to abortions.
The Hyde Amendment, like the Connecticut welfare regulation at issue in Maher, places no governmental obstacle in the path of a woman who chooses to terminate her pregnancy, but rather, by means of unequal subsidization of abortion and other medical services, encourages alternative activity deemed in the public interest. The present case does differ factually from Maher insofar as that case involved a failure to fund nontherapeutic abortions, whereas the Hyde Amendment withholds funding of certain medically necessary abortions. Accordingly, the appellees argue that because the Hyde Amendment affects a significant interest not present or asserted in Maher — the interest of a woman in protecting her health during pregnancy — and because that interest lies at the core of the personal constitutional freedom recognized in Wade, the present case is constitutionally different from Maher. It is the appellees’ view that to the extent that the Hyde Amendment withholds funding for certain medically necessary abortions, it clearly impinges on the constitutional principle recognized in Wade.
It is evident that a woman’s interest in protecting her health was an important theme in Wade. In concluding that the freedom of a woman to decide whether to terminate her pregnancy falls within the personal liberty protected by the Due Process Clause, the Court in Wade emphasized the fact that the woman’s decision carries with it significant personal health implications — both physical and psychological. 410 U. S., at 153. In fact, although the Court in Wade recognized that the state interest in protecting potential life becomes sufficiently compelling in the period after fetal viability to justify an absolute criminal prohibition of nontherapeutic abortions, the Court held that even after fetal viability a State may not prohibit abortions “necessary to preserve the life or health of the mother.” Id., at 164. Because even the compelling interest of the State in protecting potential life after fetal viability was held to be insufficient to outweigh a woman’s decision to protect her life or health, it could be argued that the freedom of a woman to decide whether to terminate her pregnancy for health reasons does in fact lie at the core of the constitutional liberty identified in Wade.
But, regardless of whether the freedom of a woman to choose to terminate her pregnancy for health reasons lies at the core or the periphery of the due process liberty recognized in Wade, it simply does not follow that a woman’s freedom of choice carries with it a constitutional entitlement to the financial resources to avail herself of the full range of protected choices. The reason why was explained in Maher: although government may not place obstacles in the path of a woman’s exercise of her freedom of choice, it need not remove those not of its own creation. Indigency falls in the latter category. The financial constraints that restrict an indigent woman’s ability to enjoy the full range of constitutionally protected freedom of choice are the product not of governmental restrictions on access to abortions, but rather of her indigency. Although Congress has opted to subsidize medically necessary services generally, but not certain medically necessary abortions, the fact remains that the Hyde Amendment leaves an indigent woman with at least the same range of choice in deciding whether to obtain a medically necessary abortion as she would have had if Congress had chosen to subsidize no health care costs at all. We are thus not persuaded that the Hyde Amendment impinges on the constitutionally protected freedom of choice recognized in Wade.
Although the liberty protected by the Due Process Clause affords protection against unwarranted government interference with freedom of choice in the context of certain personal decisions, it does not confer an entitlement to such funds as may be necessary to realize all the advantages of that freedom. To hold otherwise would mark a drastic change in our understanding of the Constitution. It cannot be that because government may not prohibit the use of contraceptives, Griswold v. Connecticut, 381 U. S. 479, or prevent parents from sending their child to a private school, Pierce v. Society of Sisters, 268 U. S. 510, government, therefore, has an affirmative constitutional obligation to ensure that all persons have the financial resources to obtain contraceptives or send their children to private schools. To translate the limitation on governmental power implicit in the Due Process Clause into an affirmative funding obligation would require Congress to subsidize the medically necessary abortion of an indigent woman even if Congress had not enacted a Medicaid program to subsidize other medically necessary services. Nothing in the Due Process Clause supports such an extraordinary result. Whether freedom of choice that is constitutionally protected warrants federal subsidization is a question for Congress to answer, not a matter of constitutional entitlement. Accordingly, we conclude that the Hyde Amendment does not impinge on the due process liberty recognized in Wade.
B
The appellees also argue that the Hyde Amendment contravenes rights secured by the Religion Clauses of the First Amendment. It is the appellees’ view that the Hyde Amendment violates the Establishment Clause because it incorporates into law the doctrines of the Roman Catholic Church concerning the sinfulness of abortion and the time at which life commences. Moreover, insofar as a woman’s decision to seek a medically necessary abortion may be a product of her religious beliefs under certain Protestant and Jewish tenets, the appellees assert that the funding limitations of the Hyde Amendment impinge on the fréedom of religion guaranteed by the Free Exercise Clause.
1
It is well settled that “a legislative enactment does not contravene the Establishment Clause if it has a secular legislative purpose, if its principal or primary effect neither advances nor inhibits religion, and if it does not foster an excessive governmental entanglement with religion.” Committee for Public Education v. Regan, 444 U. S. 646, 653. Applying this standard, the District Court properly concluded that the Hyde Amendment does not run afoul of the Establishment Clause. Although neither a State nor the Federal Government can constitutionally “pass laws which aid one religion, aid all religions, or prefer one religion over another,” Everson v. Board of Education, 330 U. S. 1, 15, it does not follow that a statute violates the Establishment Clause because it “happens to coincide or harmonize with the tenets of some or all religions.” McGowan v. Maryland, 366 U. S. 420, 442. That the Judaeo-Christian religions oppose stealing does not mean that a State or the Federal Government may not. consistent with the Establishment Clause, enact laws prohibiting larceny. Ibid. The Hyde Amendment, as the District Court noted, is as much a reflection of “traditionalist” values towards abortion, as it is an embodiment of the views of any particular religion. 491 F. Supp., at 741. See also Roe v. Wade, 410 U. S., at 138-141. In sum, we are convinced that the fact that the funding restrictions in the Hyde Amendment may coincide with the religious tenets of the Roman Catholic Church does not, without more, contravene the Establishment Clause.
2
We need not address the merits of the appellees’ arguments concerning the Free Exercise Clause, because the appellees lack standing to raise a free exercise challenge to the Hyde Amendment. The named appellees fall into three categories: (1) the indigent pregnant women who sued on behalf of other women similarly situated, (2) the two officers of the Women’s Division, and (3) the Women’s Division itself. The named appellees in the first category lack standing to challenge the Hyde Amendment on free exercise grounds because none alleged, much less proved, that she sought an abortion under compulsion of religious belief. See McGowan v. Maryland, supra, at 429. Although the named appellees in the second category did provide a detailed description of their religious beliefs, they failed to allege either that they are or expect to be pregnant or that they are eligible to receive Medicaid. These named appellees, therefore, lack the personal stake in the controversy needed to confer standing to raise such a challenge to the Hyde Amendment. See Warth v. Seldin, 422 U. S. 490, 498-499.
Finally, although the Women’s Division alleged that its membership includes “pregnant Medicaid eligible women who, as a matter of religious practice and in accordance with their conscientious beliefs, would choose but are precluded or discouraged from obtaining abortions reimbursed by Medicaid because of the Hyde Amendment,” the Women’s Division does not satisfy the standing requirements for an organization to assert the rights of its membership. One of those requirements is that “neither the claim asserted nor the relief requested requires the participation of individual members in the lawsuit.” Hunt v. Washington Apple Advertising Comm’n, 432 U. S. 333, 343. Since “it is necessary in a free exercise case for one to show the coercive effect of the enactment as it operates against him in the practice of his religion,” Abington School Dist. v. Schempp, 374 U. S. 203, 223, the claim asserted here is one that ordinarily requires individual participation. In the present case, the Women’s Division concedes that “the permissibility, advisability and/or necessity of abortion according to circumstance is a matter about which there is diversity of view within . . . our membership, and is a determination which must be ultimately and absolutely entrusted to the conscience of the individual before God.” It is thus clear that the participation of individual members of the Women’s Division is essential to a proper understanding and resolution of their free exercise claims. Accordingly, we conclude that the Women’s Division, along with the other named appellees, lack standing to challenge the Hyde Amendment under the Free Exercise Clause.
C
It remains to be determined whether the Hyde Amendment violates the equal protection component of the Fifth Amendment. This challenge is premised on the fact that, although federal reimbursement is available under Medicaid for medically necessary services generally, the Hyde Amendment does not permit federal reimbursement of all medically necessary abortions. The District Court held, and the appellees argue here, that this selective subsidization violates the constitutional guarantee of equal protection.
The guarantee of equal protection under the Fifth Amendment is not a source of substantive rights or liberties, but rather a right to be free from invidious discrimination in statutory classifications and other governmental activity. It is well settled that where a statutory classification does not itself impinge on a right or liberty protected by the Constitution, the validity of classification must be sustained unless “the classification rests on grounds wholly irrelevant to the achievement of [any legitimate governmental] objective.” McGowan v. Maryland, 366 U. S., at 425. This presumption of constitutional validity, however, disappears if a statutory classification is predicated on criteria that are, in a constitutional sense, “suspect,” the principal example of which is a classification based on race, e. g., Brown v. Board of Education, 347 U. S. 483.
1
For the reasons stated above, we have already concluded that the Hyde Amendment violates no constitutionally protected substantive rights. We now conclude as well that it is not predicated on a constitutionally suspect classification. In reaching this conclusion, we again draw guidance from the Court’s decision in Maher v. Roe. As to whether the Connecticut welfare regulation providing funds for childbirth but not for nontherapeutic abortions discriminated against a suspect class, the Court in Maher observed:
“An indigent woman desiring an abortion does not come within the limited category of disadvantaged classes so recognized by our cases. Nor does the fact that the impact of the regulation falls upon those who cannot pay lead to a different conclusion. In a sense, every denial of welfare to an indigent creates a wealth classification as compared to nonindigents who are able to pay for the desired goods or services. But this Court has never held that financial need alone identifies a suspect class for purposes of equal protection analysis.” 432 U. S., at 470-471, citing San Antonio Independent School Dist. v. Rodriguez, 411 U. S. 1, 29; Dandridge v. Williams, 397 U. S. 471.
Thus, the Court in Maher found no basis for concluding that the Connecticut regulation was predicated .on a suspect classification.
It is our view that the present case is indistinguishable from Maher in this respect. Here, as in Maher, the principal impact of the Hyde Amendment falls on the indigent. But that fact does not itself render the funding restriction constitutionally invalid, for this Court has held repeatedly that poverty, standing alone, is not a suspect classification. See, e. g., James v. Valtierra, 402 U. S. 137. That Maher involved the refusal to fund nontherapeutic abortions, whereas the present case involves the refusal to fund medically necessary abortions, has no bearing on the factors that render a classification “suspect” within the meaning of the constitutional guarantee of equal protection.
2
The remaining question then is whether the Hyde Amendment is rationally related to a legitimate governmental objective. It is the Government’s position that the Hyde Amendment bears a rational relationship to its legitimate interest in protecting the potential life of the fetus. We agree.
In Wade, the Court recognized that the State has an “important and legitimate interest in protecting the potentiality of human life.” 410 U. S., at 162. That interest was found to exist throughout a pregnancy, “grow[ing] in sub-stantiality as the woman approaches term.” Id., at 162-163. See also Beal v. Doe, 432 U. S., at 445-446. Moreover, in Maher, the Court held that Connecticut’s decision to fund the costs associated with childbirth but not those associated with nontherapeutic abortions was a rational means of advancing the legitimate state interest in protecting potential life by encouraging childbirth. 432 U. S., at 478-479. See also Poelker v. Doe, 432 U. S. 519, 520-521.
It follows that the Hyde Amendment, by encouraging childbirth except in the most urgent circumstances, is rationally related to the legitimate governmental objective of protecting potential life. By subsidizing the medical expenses of indigent women who carry their pregnancies to term while not subsidizing the comparable expenses of women who undergo abortions (except those whose lives are threatened), Congress has established incentives that make childbirth a more attractive alternative than abortion for persons eligible for Medicaid. These incentives bear a direct relationship to the legitimate congressional interest in protecting potential life. Nor is it irrational that Congress has authorized federal reimbursement for medically necessary services generally, but not for certain medically necessary abortions. Abortion is inherently different from other medical procedures, because no other procedure involves the purposeful termination of a potential life.
After conducting an extensive evidentiary hearing into issues surrounding the public funding of abortions, the District Court concluded that “[t]he interests of . . . the federal government ... in the fetus and in preserving it are not sufficient, weighed in the balance with the woman’s threatened health, to justify withdrawing medical assistance unless the woman consents ... to carry the fetus to term.” 491 F. Supp., at 737. In making an independent appraisal of the competing interests involved here, the District Court went beyond the judicial function. Such decisions are entrusted under the Constitution to Congress, not the courts. It is the role of the courts only to ensure that congressional decisions comport with the Constitution.
Where, as here, the Congress has neither invaded a substantive constitutional right or freedom, nor enacted legislation that purposefully operates to the detriment of a suspect class, the only requirement of equal protection is that congressional action be rationally related to a legitimate governmental interest. The Hyde Amendment satisfies that standard. It is not the mission of this Court or any other to decide whether the balance of competing interests reflected in the Hyde Amendment is wise social policy. If that were our mission, not every Justice who has subscribed to the judgment of the Court today could have done so. But we cannot, in the name of the Constitution, overturn duly enacted statutes simply “because they may be unwise, improvident, or out of harmony with a particular school of thought.” Williamson v. Lee Optical Co., 348 U. S. 483, 488, quoted in Dandridge v. Williams, 397 U. S., at 484. Rather, “when an issue involves policy choices as sensitive as those implicated [here] . . ., the appropriate forum for their resolution in a democracy is the legislature.” Maher v. Roe, supra, at 479.
IV
For the reasons stated in this opinion, we hold that a State that participates in the Medicaid program is not obligated under Title XIX to continue to fund those medically necessary abortions for which federal reimbursement is unavailable under the Hyde Amendment. We further hold that the funding restrictions of the Hyde Amendment violate neither the Fifth Amendment nor the Establishment Clause of the First Amendment. It is also our view that the appellees lack standing to raise a challenge to the Hyde Amendment under the Free Exercise Clause of the First Amendment. Accordingly, the judgment of the District Court is reversed, and the case is remanded to that court for further proceedings consistent with this opinion.
It is so ordered.
The “categorically needy” include families with dependent children eligible for public assistance under the Aid to Families with Dependent Children program, 42 U. S. C. § 601 et seq., and the aged, blind, and disabled eligible fpr benefits under the Supplemental Security Income program, 42 TJ. S. C. §1381 et seq. See 42 U. S. C. § 1396a (a)(10)(A). Title XIX also permits a State to extend Medicaid benefits to other needy persons, termed “medically needy.” See 42 U. S. C. § 1396a (a)(10)(C). If a State elects to include the medically needy in its Medicaid plan, it has the option of providing somewhat different coverage from that required for the categorically needy. See 42 U. S. C. § 1396a (a) (13) (C).
The Department of Health, Education, and Welfare was recently reorganized and divided into the Department of Health and Human Services and the Department of Education. The original designation is retained for purposes of this opinion.
The appropriations for HEW during October and November 1977, the first two months of fiscal year 1978, were provided by joint resolutions that continued in effect the version of the Hyde Amendment applicable during fiscal year 1977. Pub. L. 95-130, 91 Stat. 1153; Pub, L. 95-165, 91 Stat. 1323.
In this opinion, the term “Hyde Amendment” is used generically to refer to all three versions of the Hyde Amendment, except where indicated otherwise.
Although the intervenor-defendants are appellees in the Secretary’s direct appeal to this Court, see this Court’s Rule 10 (4), the term “ap-pellees” is used in this opinion to refer only to the parties who were the plaintiffs in the District Court.
The trial, which was conducted between August 1977 and September 1978, produced a record containing more than 400 documentary and film exhibits and a transcript exceeding 5,000 pages.
McRae v. Califano, 491 F. Supp. 630.
The District Court found no Establishment Clause infirmity because, in its view, the Hyde Amendment has a secular legislative purpose, its principal effect neither advances nor inhibits religion, and it does not foster an excessive governmental entanglement with religion.
The District Court also apparently concluded that the Hyde Amendment operates to the disadvantage of a “suspect class,” namely, teenage women desiring medically necessary abortions. See n. 26, infra.
Although the original class included only those pregnant women in the first two trimesters of their pregnancy, the recertified class included all pregnant women regardless of the stage of their pregnancy.
The appellees argue that their interpretation of Title XIX finds support in Beal v. Doe, 432 U. S. 438. There the Court considered the question whether Title XIX permits a participating State to exclude non-therapeutic abortions from its Medicaid plan. Although concluding that Title XIX does not preclude a State’s refusal "to fund unnecessary — though perhaps desirable — medical services,” the Court observed that "serious statutory questions might be presented if a state Medicaid plan excluded necessary medical treatment from its coverage.” Id., at 444-445 (emphasis in original). The Court in Bed, however, did not address the possible effect of the Hyde Amendment upon the operation of Title XIX.
In Preterm, Inc. v. Dukakis, 591 F. 2d 121, 132 (CA1 1979), the opinion of the court by Judge Coffin noted:
“The Medicaid program is one of federal and state cooperation in funding medical assistance; a complete withdrawal of the federal prop in the system with the intent to drop the total cost of providing the service upon the states, runs directly counter to the basic structure of the program and could seriously cripple a state's attempts to provide other necessary medical services embraced by its plan.” (Footnote omitted.)
When subsequent Congresses have deviated from the original structure of Title XIX by obligating a participating State to assume the full costs of a service as a prerequisite for continued federal funding of other services, they have always expressed their intent to do so in unambiguous terms. See Zbaraz v. Quern, 596 F. 2d 196, 200, n. 12 (CA7 1979).
Since Title XIX itself provides for variations in the required coverage of state Medicaid plans depending on changes in the availability of federal reimbursement, we need not inquire, as the District Court did, whether the Hyde Amendment is a substantive amendment to Title XIX. The present case is thus different from TVA v. Hill, 437 U. S. 153, 189-193, where the issue was whether continued appropriations for the Tellico Dam impliedly repealed the substantive requirements of the Endangered Species Act prohibiting the continued construction of the Dam because it threatened the natural habitat of an endangered species.
Our conclusion that the Congress that enacted Title XIX did not intend a participating State to assume a unilateral funding obligation for any health service in an approved Medicaid' plan is corroborated by the fact that subsequent Congresses simply assumed that the withdrawal of federal funding under the Hyde Amendment for certain medically necessary abortions would relieve a participating State of any obligation to provide for such services in its Medicaid plan. See the cases cited in the text, supra.
A participating State is free, if it so chooses, to include in its Medicaid plan those medically necessary abortions for which federal reimbursement is unavailable. See Beal v. Doe, 432 U. S., at 447; Preterm, Inc. v. Dukakis, supra, at 134. We hold only that a State need not include such abortions in its Medicaid plan.
The appellees also argue that the Hyde Amendment is unconstitutionally vague insofar as physicians are unable to understand or implement the exceptions in the Hyde Amendment under which abortions are reimbursable. It is our conclusion, however, that the Hyde Amendment is not void for vagueness because (1) the sanction provision in the Medicaid Act contains a clear scienter requirement under which good-faith errors are not penalized, see Colautti v. Franklin, 439 U. S. 379, 395, and, (2), in any event, the exceptions in the Hyde Amendment “are set out in terms that the ordinary person exercising ordinary common sense can sufficiently understand and comply with, without sacrifice to the public interest.” Broadrick v. Oklahoma, 413 U. S. 601, 608.
The Court in Wade observed that previous decisions of this Court had recognized that the liberty protected by the Due Process Clause “has some extension to activities relating to marriage, Loving v. Virginia, 388 U. S. 1, 12 (1967); procreation, Skinner v. Oklahoma, 316 U. S. 535, 541-542 (1942); contraception, Eisenstadt v. Baird, 405 U. S [438,] 453-454; id., at 460, 463-465 (White, J., concurring in result); family relationships, Prince v. Massachusetts, 321 U. S. 158, 166 (1944); and child rearing and education, Pierce v. Society of Sisters, 268 U. S. 510, 535 (1925); Meyer v. Nebraska, [262 U. S. 390, 399 (1923)].” 410 U. S., at 152-153.
The appellees argue that the Hyde Amendment is unconstitutional because it “penalizes” the exercise of a woman’s choice to terminate a pregnancy by abortion. See Memorial Hospital v. Maricopa County, 415 U. S. 250; Shapiro v. Thompson, 394 U. S. 618. This argument falls short of the mark. In Maher, the Court found only a “semantic difference” between the argument that Connecticut’s refusal to subsidize non-therapeutic abortions “unduly interfere[d]” with the exercise of the constitutional liberty recognized in Wade and the argument that it “penalized” the exercise of that liberty. 432 U. S., at 474, n. 8. And, regardless of how the claim was characterized, the Maher Court rejected the argument that Connecticut’s refusal to subsidize protected conduct, without more, impinged on the constitutional freedom of choice. This reasoning is equally applicable in the present case. A substantial constitutional question would arise if Congress had attempted to withhold all Medicaid benefits from an otherwise eligible candidate simply because that candidate had exercised her constitutionally protected freedom to terminate her pregnancy by abortion. This would be analogous to Sherbert v. Verner, 374 U. S. 398, where this Court held that a State may not, consistent with the First and Fourteenth Amendments, withhold all unemployment compensation benefits from a claimant who would otherwise be eligible for such benefits but for the fact that she is unwilling to work one day per week on her Sabbath. But the Hyde Amendment, unlike the statute at issue in Sherbert, does not provide for such a broad disqualification from receipt of public benefits. Bather, the Hyde Amendment, like the Connecticut welfare provision at issue in Maher, represents simply a refusal to subsidize certain protected conduct. A refusal to fund protected activity, without more, cannot be equated with the imposition of a “penalty” on that activity.
As this Court in Maher observed: “The Constitution imposes no obligation on the [government] to pay the pregnancy-related medical expenses of indigent women, or indeed to pay any of the medical expenses of indigents.” 432 U. S., at 469.
Since the constitutional entitlement of a physician who administers medical care to an indigent woman is no broader than that of his patient, see Whalen v. Roe, 429 U. S. 589, 604, and n. 33, we also reject the ap-pellees’ claim that the funding restrictions of the Hyde Amendment violate the due process rights of the physician who advises a Medicaid recipient to obtain a medically necessary abortion.
The remaining named appellees, including the individual physicians and the New York City Health and Hospitals Corp., did not attack the Hyde Amendment on the basis of the Free Exercise Clause of the First Amendment.
These named appellees sued on behalf of the class of “women of all religious and nonreligious persuasions arid beliefs who have, in accordance with the teaching of their religion and/or the dictates of their conscience determined that an abortion is necessary.” But since we conclude below that the named appellees have not established their own standing to sue, “[t]hey cannot represent a class of whom they are not a part.” Bailey v. Patterson, 369 U. S. 31, 32-33. See also O’Shea v. Littleton, 414 U. S. 488, 494-495.
For example, in Board of Education v. Allen, 392 U. S. 236, 249, the Court found no free exercise violation since the plaintiffs had “not contended that the [statute in question] in any way coercefd] them as individuals in the practice of their religion.” (Emphasis added.)
An exception to this statement is to be found in Reynolds v. Sims, 377 U. S. 533, and its progeny. Although the Constitution of the United States does not confer the right to vote in state elections, see Minor v. Happersett, 21 Wall. 162, 178, Reynolds held that if a State adopts an electoral system, the Equal Protection Clause of the Fourteenth Amendment confers upon a qualified voter a substantive right to participate in the electoral process equally with other qualified voters. See, e. g., Dunn v. Blumstein, 405 U. S. 330, 336.
Although the matter is not free from doubt, the District Court seems to have concluded that teenage women desiring medically necessary abortions constitute a “suspect class” for purposes of triggering a heightened level of equal protection scrutiny. In this regard, the District Court observed that the Hyde Amendment “clearly operate[s] to the disadvantage of one suspect class, that is to the disadvantage of the statutory class of adolescents at a high risk of pregnancy . . . , and particularly those seventeen and under.” 491 F. Supp., at 738. The “statutory” class to which the District Court was referring is derived from the Adolescent Health Services and Pregnancy Prevention and Care Act, 42 U. S. C. § 300a-21 et seq. (1976 ed., Supp. II). It was apparently the view of the District Court that since statistics indicate that women under 21 years of age are disproportionately represented among those for whom an abortion is medically necessary, the Hyde Amendment invidiously discriminates against teenage women.
But the Hyde Amendment is facially neutral as .to age, restricting funding for abortions for women of all ages. The District Court erred, therefore, in relying solely on the disparate impact of the Hyde Amendment in concluding that it discriminated on the basis of age. The equal protection component of the Fifth Amendment prohibits only purposeful discrimination, Washington v. Davis, 426 U. S. 229, and when a facially neutral federal statute is challenged on equal protection grounds, it is incumbent upon the challenger to prove that Congress “selected or reaffirmed a particular course of action at least in part 'because of/ not merely 'in spite of/ its adverse effects upon an identifiable group.” Personnel Administrator of Mass. v. Feeney, 442 U. S. 256, 279. There is no evidence to support such a finding of intent in the present case.
We address here the constitutionality of the most restrictive version of the Hyde Amendment, namely, that applicable in fiscal year 1976 under which federal funds were unavailable for abortions "except where the life of the mother would be endangered if the fetus were carried to term.” Three versions of the Hyde Amendment are at issue in this case. If the most restrictive version is constitutionally valid, so too are the others.
In fact, abortion is not the only “medically necessary” service for which federal funds under Medicaid are sometimes unavailable to otherwise eligible claimants. See 42 U. S. C. § 1396d (a) (17) (B) (inpatient hospital care of patients between 21 and 65 in institutions for tuberculosis or mental disease not covered by Title XIX).