I think the purpose of those shows is to show the hassle,work,heartbreak,and heartache that these families go through in reality.
The happy ending is just how it turned out, and is good to show to encourage kids that are in that situation that there's a light at the end of the tunnel.
The kids...