For decades, Qaddafi had behaved as if he were, as his propagandists proclaimed him, “King among African Kings,” using his country’s abundant oil revenues to provide aid to his neighbors. He announced investments of $97 billion to “free Africa from the West.”