“Yes we burn from the prolonged exposure to heat, as anything does on the planet. That doesn’t mean the sun is bad.”
But your assertion was that you won’t get burnt if you ‘acclimatise’.
“So our bodies evolved to produce melanin over 1,000’s of years of living outdoors and our natural attraction to this is a modern trend?”
Yes, the trend of what is considered ‘attractive’ is cultural not universal and changes over time. Try and find a painting from 18th century England where an ‘attractive’ person is depicted as being tanned. Being tanned meant you were poor and had to work outside for a living. People with ‘porcelain’ skin were considered to be beautiful.