Gal 2:11-14 (AKJV/PCE)
(2:11) But when Peter was come to Antioch, I withstood him to the face, because he was to be blamed. (2:12) For before that certain came from James, he did eat with the Gentiles: but when they were come, he withdrew and separated himself, fearing them which were of the circumcision. (2:13) And the other Jews dissembled likewise with him; insomuch that Barnabas also was carried away with their dissimulation. (2:14) But when I saw that they walked not uprightly according to the truth of the gospel, I said unto Peter before [them] all, If thou, being a Jew, livest after the manner of Gentiles, and not as do the Jews, why compellest thou the Gentiles to live as do the Jews?
Peter did not walk in sinless perfection and neither do you.