Role of proteases is to degrade the proteins present inside a cell (from which DNA is being isolated). If the proteins are not removed from DNA preparation then they could interfere with any downstream treatment of DNA (such action of restriction endonuclease, DNA ligase etc).