While the exact wording might be difficult to pinpoint, the idea is closely associated with stoic philosophy, where facing adversity and hardship is considered crucial for personal growth and virtue development.
So, while you can't find a specific individual who *said* this exact phrase, its roots are firmly planted in philosophical and cultural thought that emphasizes the importance of resilience and overcoming obstacles.