We are all doing the best we know how to do based on our present circumstances and past experiences.
When you or someone else struggles, makes mistakes, try to figure out which NEED you or they were trying to meet and then try to figure out another way that would be better for you and others.