And [ remember , O Muhammad ] , when We told you , " Indeed , your Lord has encompassed the people . " And We did not make the sight which We showed you except as a trial for the people , as was the accursed tree [ mentioned ] in the Qur 'an .