soaking dried beans in water overnight helps speed up their cooking. some sources recommend cooking the beans directly in the soaking liquid in order to retain any flavorful water-soluble compounds and colorful pigments that may leach out during the soak.