There are some versions of the myth where Sun Wukong never made it to the West, and it was the Six-Eared Mahcock that replaced him instead, and there's versions where he was never born but was a creation of Buddhism, and there's another one where his soul died in the West and the Ever Victorious Buddha took his body as a husk to wear