It was not clear to whom Balak and Balaam offered — to Jehovah or to Baal (Num. 22:41 and note Num. 22:411). Balaam worshipped in God’s way, but he mixed the worship of God with the worship of an idol. This kind of mixture in worship can be found in Roman Catholicism.
