Higher viscosity in general offers higher protection, and synthetic oils offer better protection for the same equivalent viscosity compared to mineral. However there are always exceptions.
5W-30 is a compromise between performance, economy, emissions, and protection and many engines have lasted 200k miles plus without issues.
Modern Toyota engines, especially the hybrids, now use 0W-20 fully synthetic.