What you're observing isn't a 'failed state'. The apparatus of the state is working quite fine, and the state is completely capable of enforcing its will on its subjects. [1]
What you're observing is the police doing their job[2] (Which is protecting the state), and not the job you want them to do (protecting you and yours.)
[1] The definition of a failed state is one that is incapable of enforcing its will on its subjects. Which is what you see in, say, 2021 Afghanistan, where the central government is only theoretically in charge, with Taliban rebels actually being able to enforce their will on the country. There's a categorical difference between 'can't' and 'can't be arsed to' - and you're observing the latter.
[2] Why doing that job entitles them to half of your municipal taxes is an exercise for the reader.