When an affliction befalls man , he cries out to Us ; but when We grant him a favour from Us , he says : “ I have been granted this on account of my knowledge . ” Nay ; this ( favour ) is a test ; but most of them do not know .