Here is a link to the Society of Professional Journalists code of ethics. Note the 4 key drivers.
This page from Pew has links to numerous media outlets’ ethics policies.
Real life real world examples are everywhere and happening daily. Here is one from last week involving a former U.S. president.
Another example from last month where a veteran, investigative reporter lost his job.