One cannot achieve succeess with every film. Audiences can be unpredictable. The failure could be due to a bad script or characterisation. All this is a part of the learning process.
This media is such that when you are working with your set of people, they tell you, why don't you work with new people, and if you do that, they say, Hey, what's happened to your old ones.