Daniel advised Nebuchadnezzar to stop sinning and to do what was right. He also told Nebuchadnezzar to turn away from his sins by showing mercy to the oppressed.