Nehemiah was not the cup bearer for the king of Babylon.  That was a mistake.  He served the king who conquered the Babylonians.  He served King Artaxerxes I, the king of Persia.