Said one who had knowledge from the Scripture , " I will bring it to you before your glance returns to you . " And when [ Solomon ] saw it placed before him , he said , " This is from the favor of my Lord to test me whether I will be grateful or ungrateful .