House Republicans killed their own $37.4 billion water and energy spending bill on Thursday because it included a provision barring federal contractors from discriminating against people based on their sexual orientation or gender identity.

The 305-112 vote tanked the routine appropriations bill for energy and water projects, “and may imperil GOP efforts to pass any more of the 12 annual appropriations bills for the upcoming budget year, work that is the most basic function of Congress,” Associated Press reported. 

The Huffington Post explains:

In a statement issued after the vote, Rep. Ted Lieu (D-Calif.) chastised his House colleagues for voting down the bill “apparently because it would incorporate Mr. Maloney’s inclusive amendment. It’s wrong that some House Republicans are willing to obstruct the appropriations process…just to allow discrimination against LGBT people.”

House Minority Leader Nancy Pelosi also blasted the GOP, saying in a statement: “House Republicans’ thirst to discriminate against the LGBT community is so strong that they are willing to vote down their own appropriations bill in order to prevent progress over bigotry.”