The worst thing photography did to painting may have been to kill the best day job. Most of the great painters in history supported themselves by painting portraits. Soon after the invention of photography they were undercut by hacks who worked from photographs.