Here is a quote from The Last Lion, by William Manchester, a respected biographer, page 380.
"Sir R.S.S. Baden-Powell, the hero of Mafeking, published Scouting for Boys in 1906 and founded the Boy Scout movement with the motto 'Be Prepared,' based on his initials."