What is the meaning of [Beat swords into ploughshares]

Turn to peaceful pursuits and away from war.

From the Bible, Isaiah II (King James Version):

They shall beat their swords into ploughshares, and their spears into pruning-hooks; nation shall not lift up sword against nation, neither shall they learn war any more.