President Biden said Wednesday that he would halt the shipment of U.S. offensive weapons to Israel, which he acknowledged have been used to kill civilians in Gaza, if the country moves ahead with a long-planned ground invasion of Rafah — the first time he has threatened to withhold U.S. military aid, and the most direct threat he has made in the seven-month war.