# while the people were cooking some food

"before the people finished cooking the food"

# he was given a vision

"God gave him a vision" or "he saw a vision" (See: [[rc://en/ta/man/translate/figs-activepassive]])