Num 22:7 So the elders of Moab and the elders of Midian departed with the fees for divination in their hand. And they came to Balaam and gave him Balak’s message. And he said to them, “Lodge here tonight, and I will bring back word to you, as the LORD speaks to me.” So the princes of Moab stayed with Balaam. And God came to Balaam and said, “Who are these men with you?” And Balaam said to God, “Balak the son of Zippor, king of Moab, has sent to me, saying, ‘Behold, a people has come out of Egypt, and it covers the face of the earth. Now come, curse them for me. Perhaps I shall be able to fight against them and drive them out.’” God said to Balaam, “You shall not go with them. You shall not curse the people, for they are blessed.” So Balaam rose in the morning and said to the princes of Balak, “Go to your own land, for the LORD has refused to let me go with you.” So the princes of Moab rose and went to Balak and said, “Balaam refuses to come with us.”
Immediately, the heart of Balaam was revealed. Though he was obviously a man with significant spiritual gifts, he was not a man with a genuine heart after God. He was “seeking God’s will” regarding something that was plainly not His will. Balaam began on a dangerous course – entertaining, planning, setting his heart on something he knew to be sin, and looking for a spiritual excuse to pursue the sin. Because of his love for money, Balaam tried to manipulate God into granting him a special exception. God had no obligation to respond to a greedy, self-seeking heart like Balaam’s. But in mercy God did respond, warning Balaam to have nothing to do with these men. Balaam did know these were evil men who had come for an evil purpose – to hire a prophet – but Balaam did not act accordingly. (Guzik)
If Balaam had been a true prophet and a faithful servant of Jehovah, he would at once have sent the messengers away and refused their request, as he must then have known that God would not curse His chosen people. But Balaam loved the wages of unrighteousness. This corruptness of his heart obscured his mind, so that he turned to God not as a mere form, but with the intention and in the hope of obtaining the consent of God to his undertaking. And God came to him in the night, and made known His will. (Keil)
When we know God’s Word and it is clear on right and wrong, and yet, we try to come up with a way to lessen our sin or tolerance of what is wrong, we fall into a path that will allow human reason and logic to cloud the Word of God. We do well to stand firm against taking part in any plans that we know are not of God, God-honoring, being an example for others to follow, or that cause us to lose unity within our fellowship with other believers. Just because we are weak in our understanding and knowledge does not give us room to play in the realm of what is wrong in God’s eyes.