So in the final step an electron flows out of the valence band on the P side into the wire. This leaves behind a hold, and this brings the number of holes on the P side back to normal.
The end result of the three steps is that one electron flowed into the diode and one electron flowed out the other side.