It’s a little more complex than that, especially if you take the neighbor’s sub plot into account.
There were quite a few life lessons in that movie but it never felt like you were being lectured to. That’s the difference between writers back then versus writers of today.