A lighthouse is the classic example of a public good because it is difficult to prevent a ship (a free rider) from using it.
The store failed because all of the manager's friends were free riders who drove paying customers away.