If Germany didn't invade then the USSR would attack first (and WW2 would be over sooner, probably with larger part of Europe under Soviet control). Both powers had attack plans, Germans executed theirs sooner. Some historians claim that Germans got ahead if Soviet attack just by few weeks.