He was speaking in reference to eating with unwashed hands.

Matthew 15:20
[20]These are the things which defile a man: 👉but to eat with unwashen hands defileth not a man.👈

His apostles gave dietary laws in Acts 15. He wasn't saying we can put literally anything in our mouths.