Genesis 37:2sheva
These are {the records of} the generations of Jacob. Joseph, when seventeen years of age, was pasturing the flock with his brothers while he was {still} a youth, along with the sons of Bilhah and the sons of Zilpah, his father's wives. And Joseph brought back a bad report about them to their father.
Joseph's age when his story begins, tending flocks with his brothers.
2 Chronicles 12:13sheva
So King Rehoboam strengthened himself in Jerusalem and reigned. Now Rehoboam was forty-one years old when he began to reign, and he reigned seventeen years in Jerusalem, the city which the Lord had chosen from all the tribes of Israel, to put His name there. And his mother's name was Naamah the Ammonitess.
Chronicles repeats Rehoboam's seventeen-year reign in Jerusalem.