Ben Sira 47:12

12 David prepared the way well for his son, a wise man, to rule after him.