Nebuchadnezzar used this statue and the worship of it as a test of his subjects' loyalty to him and his kingdom. Babylonians were polytheists, worshiping many gods. This was simply a representation of another god -Nebuchadnezzar--- that they were to worship on pain of death.