20 years This is found in the ancient Greek version and Josephus. The standard Hebrew text has “40 years.”