The main purpose of lubrication is to reduce friction and wear in bearings or sliding components to prevent premature failure.