BETTER TO BUY THE CHEAPEST SINGLE FAMILY HOME IN A REALLY GOOD NEIGHBORHOOD THAN A REALLY NICE HOME IN A POOR NEIGHBORHOOD?

For example better to buy the cheapest single family home in Beverly Hills than to buy the most expensive home in Inglewood?