In spite of the declarations you will notice in the career of the same Krishna that He underwent defeat in His efforts or endeavors on a few occasions you must have also noted that those defeats too were part of the drama which He had planned and He Himself directed.