The SNP leader said results of elections in Scotland, England and Wales could go badly for Prime Minister Sir Keir Starmer.