The barrels don't wear out due to friction.The throats burn out due to pressure and heat.
Yes, barrels do wear from friction. Takes awhile, but rifling can and is shot out. Throat wear also occurs, at least that part of your statement is semi-correct.