These two phrases have the same meaning and are used together to emphasize that God would never do anything wrong. The phrase "far be it from" is an idiom. AT: "Almighty God would never consider doing anything that is wicked or wrong!" (See: [[rc://en/ta/man/translate/figs-parallelism]] and [[rc://en/ta/man/translate/figs-idiom]])
This means that he gives to a person what he deserves for the work he has done. Here "work" is a metaphor for what a person does. AT: "For he gives to a person what he deserves in return for he does" (See: [[rc://en/ta/man/translate/figs-metaphor]])
The phrase "his own ways" is an idiom for how a person lives his life. Elihu emphasizes that God gives to people what they deserve. AT: "he causes every man to receive the reward he deserves for how he lives" (See: [[rc://en/ta/man/translate/figs-idiom]])