HDFC Bank is selling its stake in HDFC Education as part of its strategic decision to divest from non-core assets and focus on its core banking operations.