it just goes to show...

It just goes to show is an idiom often used by someone who wants to say that what has just been done or said has a very important moral or message behind it. If something that has just happened has given a message to younger children about the importance of safety for example, then someone may say it just goes to show, and continues with the phrase in that this even has shown this message coming from it.