So when harm afflicts a man he calls upon Us ; then , when We give him a favor from Us , he says : I have been given it only by means of knowledge . Nay , it is a trial , but most of them do not know .