Here's the thing that trips a lot of trainers up: Raichu won't learn Thunder by levelling up.
The reason is how evolution works in the Pokémon games. Once Pikachu evolves into Raichu, it stops learning new moves through the level-up move list — it only keeps what it knew at the time of evolving. So there's no level at which Raichu naturally picks up Thunder.
The fix is simple: teach it Thunder with a TM. As long as Raichu's move slots aren't full, you can slot it in immediately. If you'd rather Raichu learn moves by levelling, delay the evolution and level Pikachu up first — then evolve once it has the moveset you want.