But when they had been there for a long time, Abimelech, king of the Philistines, looked out of a window and saw Isaac fondling his wife Rebekah.