(CNN) -

A Democratic bill to overturn the Supreme Court's Hobby Lobby decision, which allows some companies to refuse insurance coverage for contraceptives because of religious objections, failed to advance in the Senate on Wednesday.

Nearly all Republicans voted against it.

Democrats argued the ruling last month was deeply unfair to women and blasted Republicans for blocking the bill. Republicans defended the religious rights of private companies impacted by the decision.

The issue has strong implications for the 2014 midterm elections as each party tries to attract more women voters.