Given to them ?
Israel had to replace more than 60 aircraft lost during the Six Day War and the War of Attrition which followed. This began the cooperation with Dassault to build the Mirage 5. The Mirage 5 was named Raam in Hebrew (thunder).
Dassault Aviation had developed the Mirage 5 at the request of the Israelis, who were the main foreign customers of the Mirage III. The Israeli Air Force (IAF) wanted the next version to have less all-weather capability in exchange for improved ordnance carrying capacity and range as the weather in the Middle East is mostly clear.
In January, 1969 the French government arms embargo on Israel (on the eve of the Six Day War and after the Israeli attack of the airport of Beirut, in 1969) prevented the first 30 Mirage 5 aircraft (which were already paid for by Israel) plus optional 20 from being delivered and cut off support for the existing Mirage IIICJ fleet.
This was bad news for the Israeli Air Force, who needed the new Mirage to compensate for the losses of the Six Day War and was still using the origin of this version derived from the Mirage III. Israel then decided to build this plane (Raam A and B project)[1] as it had the necessary plans, although Israel did not obtain a manufacturing license.
Officially, Israel built the aircraft after obtaining complete blueprints.