But Israel and the so-called quartet for Middle East peace -- the United States , the European Union , Russia and the United Nations -- have warned that a new Hamas government will face isolation and further cuts in financing unless it recognizes Israel , rejects violence and accepts the validity of previous Israeli-Palestinian agreements .