Hamas , which won parliamentary elections in January , failed to get any other Palestinian faction to join the new government .