Chicken with soup

Hello, everyone this might sound like a stupid question but I was filling up a pot with water with chicken in it. I completely forgot about it, I started washing my hands and realized I got soap all in it! I cleaned off the chicken and took the water out, but is it okay to still cook and eat?