Schools don’t win elections. Public safety does. You can still win an election if you don’t fund a school but you won’t win an election if you’re “soft on crime”.
Just to put a finer point on it, "public safety" is a dog-whistle for "jackbooted thuggery targeting minorities."