Nehemiah 13:2 TMB

2 because they met not the children of Israel with bread and with water, but hired Balaam against them, that he should curse them. However that be, our God turned the curse into a blessing.