It's not funding for their jobs. It's funding for associations such as FOP[1] that do some combination of advocacy/lobbying for police interests, and local charitable work.
These same organizations were the #1 source of lobbying to keep marijuana illegal in the state I was in when they were passing legalization legislation.
1: https://fop.net/