Abimelekh in English , in Hebrew Avimelech, an ancient king of the Philistines who lived at the same time as the patriarch Isaac in the book of Genesis in the Bible . They clashed over territory and arrived at a covenant establishing peace between their followers who were mainly shepherds.