Why was equal sign used in with statement?

Sorry for asking, would you mind showing me an example?