Yes, error or mistakes is permitted in life but we should try and learn from them to avoid making the same error again
Well said @preshzy, that's just the absolute truth, if we can fully learn from our mistakes we would be have to achieve your desired goals.