Do you need really need "sources" to know that shame acts as a deterrent not to do something, and/or as a motivating factor to do something, for a multitude of actions good or bad and has done so for thousands of years of human history? Simple observe...and you will have all the sources you need.