Are you sure we have been to the same place?
There are dicey parts of Amsterdam, but those are populated by sober Moslems. The areas around the "coffee shops" are quite safe.
Apparently not. Eye of the beholder? But then, since San Francisco has become the nation's haven of the homeless, I don't visit anymore.