This is a PSA segment known as C.O.P.S. For Kids from the late 80's C.O.P.S. animated series. Big Boss and Squeeky Kleen show viewers how one must never flash his/her cash in front of the crowd with Squeeky showing off an example of this the hard way - by getting mugged and whipped by thugs when he flashes some wad of cash in front of them.
Click Play or go to Link [YouTube].