Valmiki Ramayana Ayodhya Kanda Sarga 9 Shloka 34
Original Shlokaयेन कालेन रामश्च वनात्प्रत्यागमिष्यति। तेन कालेन पुत्रस्ते कृतमूलो भविष्यति।।2.9.34।। सुगृहीतमनुष्यश्च सुहृद्भिस्सार्धमात्मवान्।
1 source checked for this shloka
येन कालेन by the time, राम: च Rama also, वनात् from the forest, प्रत्यागमिष्यति returns, तेन कालेन by then, ते your, आत्मवान् confident, पुत्र: son, सुगृहीतमनुष्य: people whose affection has been gained, सुहृद्भि: सार्धम् in the company of friends, कृतमूल: deeprooted, भविष्यति will become.
By the time Rama returns from the forest, your son (now) confident, would have become deep rooted by gaining the company of friends and the acceptability of the people.