To tackle the challenges of performing early fault warning and improving the prediction accuracy for the remaining useful life (RUL) of rolling bearings, this paper proposes a similarity health indicator and a predictive model of CG-CGAN, which relies on a Conditional Generative Adversarial Network (CGAN) that combines one-dimensional Convolutional Neural Network (CNN) with a Bidirectional Gate Recurrent Unit (Bi-GRU). This framework provides a comprehensive theoretical foundation for RUL prediction of rolling bearings. The similarity health indicator allows for early fault warning of rolling bearings without expert knowledge. Within the CGAN framework, the inclusion of constraints guides the generation of samples in a more targeted manner. Additionally, the proposed CG-CGAN model incorporates Bi-GRU to consider both forward and backward information, thus improving the precision of RUL forecasting. Firstly, the similarity indicator between the vibration signals of the rolling bearing over its full life span and the standard vibration signals (healthy status) is calculated. This indicator helps to determine the early deterioration points of the rolling bearings. Secondly, the feature matrix composed of traditional health indicators and similarity health indicator, is utilized to train and test the proposed CG-CGAN model for RUL prediction. Finally, to corroborate the efficacy of the proposed method, two sets of real experiment data of rolling bearing accelerated life from the Intelligent Maintenance Systems (IMS) are utilized. Experimental findings substantiate that the proposed similarity health indicator offers precocious fault alerts and precisely delineates the performance diminution of the rolling bearing. Furthermore, the put-forward CG-CGAN model achieves high-precision RUL prediction of rolling bearing.