So Judah and Israel lived in safety, every man under his vine and his fig tree, from Dan even to Beersheba, all the days of Solomon.