Yeah, that Stalin-Hitler Pact didn’t work out well for either side.
Stalin didn’t count on France falling so quickly.
Hitler thought Britain and France would stand down, once they saw Russia wasn’t going to help them.