You cannot get HM Flash in Pokémon Sapphire.
Reason: Flash is exclusive to Pokémon Ruby and Emerald. It illuminates dark caves and is a key HM there. Sapphire focuses on different mechanics and does not include Flash.
To experience Flash, play Pokémon Ruby or Emerald.