וְלֹ֥א אָבִ֖יתִי לִשְׁמֹ֣עַ לְבִלְעָ֑ם וַיְבָ֤רֶךְ בָּרוֹךְ֙ אֶתְכֶ֔ם וָאַצִּ֥ל אֶתְכֶ֖ם מִיָּדֽוֹ׃
But I would not hearken unto Balaam; therefore he even blessed you; so I delivered you out of his hand.
Read kabbalistic (mystical) interpretation of Joshua 24:10: and classical mystical sources.