Maintaining the reliability of rotating machinery in industrial environments entails significant challenges. The objective of this paper is to develop a methodology that can accurately predict the condition of rotating machinery in order to facilitate the implementation of effective preventive maintenance strategies. This article proposed a novel RUL-centric data augmentation method, designated as DF-MDAGRU, for the purpose of predicting the remaining useful life (RUL) of bearings. This model is based on an encoder–decoder framework that integrates time–frequency domain feature enhancement with multidimensional dynamic attention gated recurrent units for feature extraction. This method enhances time–frequency domain features through the Discrete Wavelet Downsampling module (DWD) and Convolutional Fourier Residual Block (CFRB). This method employs a Multiscale Channel Attention Module (MS-CAM) and a Multiscale Convolutional Spatial Attention Mechanism (MSSAM) to extract channel and spatial feature information. Finally, the output predictions are processed through linear regression to achieve the final RUL estimation. Experimental results demonstrate that the proposed method outperforms other state-of-the-art approaches on the FEMETO-ST and XJTU datasets.