in your/its prime
also in the prime of your lifein the best, most successful, most productive stage:
The horse retired from racing while still in his prime.
She was in the prime of her working life when she retired, but she continued as a consultant.