B) After World War II, the allied countries wanted to keep peace and avoid another world war.
The primary motivation for the formation of the United Nations (UN) in 1945 was to promote international cooperation and prevent the outbreak of another global conflict after the devastating effects of World War II.