The demon slayers in the series "Demon Slayer: Kimetsu no Yaiba" learn from their failures and setbacks in battles by reflecting on what went wrong, analyzing their mistakes, and seeking advice from their more experienced peers. They focus on improving their skills and strategies to become stronger and more effective in future battles. Additionally, they often train rigorously to overcome their weaknesses and enhance their abilities to face stronger opponents.