God wanted him to go to Nineveh and cry out against it for their wickedness. (Jonah 1:2)