And We made those who had been persecuted inherit the eastern and western lands which We had blessed . Thus your Lord 's gracious promise was fulfilled to the Children of Israel , for they had endured with patience ; and We destroyed all that Pharaoh and his people had wrought , and all that they had built .