Parashat Balak
Hashem asked Bilam who were the people with him, although He
already knew the answer. This was done order to initiate a
conversation, where Bilam would retain the mind frame needed to
reply back, as opposed to criticizing him suddenly and leaving him
too frightened to answer back.[75]