but in some cases that's literally banditery, so giving them money is giving in to bullying; even if there exist cases that are not, it is A) foolish to generalise like this and B) very hard to convince people to give their money away like that when they know that this is inclusive of bandits.
The difference between someone choosing to give to beggers and not wanting to give money to muggers.
Post also seems to be suffering under the childish simplifcation that criminals are just disgruntled poor people. In reality, being poor isn't actually a predisposition to crime.
Two reasons why society chooses "to give police more money rather than poor people" are: A) we don't, because policee are actually just one manifestation of State monopoly on violence, so nobody is actively "voting" for them to get a pay rise and they will get pay rises regardless if it's necessary to enforce state violence, and B) it's more important to people to see those who act-out in society to be hidden away or killed rather than to receive news that random strangers they never met are no longer poor and they used their own money to make it happen