the LORD is paying you back for killing so many in Saul's family. You stole his kingdom, but now the LORD has given it to your son Absalom. You're a murderer, and that's why you're in such big trouble!"
This was because they had refused to give food and water to Israel and had hired Balaam to call down a curse on them. However, our God turned the curse into a blessing.