Ash gets his first gym badge in Pewter City from Brock even though he backed off before knocking out Brock's Onix. His next gym stop, Cerulean City, features Misty's three older sisters, who are more interested in being famous than battling Pokémon. In fact, they offer to give Ash the badge without so much as a fight, but Misty, the fourth Cerulean City Gym Leader, challenges Ash.
Both sides put up a good fight, but before a victor can be declared, Team Rocket attacks the gym and attempts to kidnap all the Pokémon. Pikachu saves the day by electrifying the water-filled gym, and the Sensational Sisters thank Ash with a badge. Sure, eventually Ash starts collecting gym badges the old-fashioned way, but the first two were literally just handed to him for showing up.