Doping is banned to uphold the integrity of sports by ensuring fair play and creating a level playing field for athletes.