归西 literally means 'return to the West' — a Buddhist reference to
西方极乐世界 (xīfāng jílè shìjiè, the Western Pure Land of Amitabha Buddha). Dying = going home to the Western Paradise. The phrase predates Buddhism's full sinicization but anchored to the Pure Land tradition.