I Samuel 12:25 Midrash

וְאִם־הָרֵ֖עַ תָּרֵ֑עוּ גַּם־אַתֶּ֥ם גַּֽם־מַלְכְּכֶ֖ם תִּסָּפֽוּ׃ (פ)

But if ye shall still do wickedly, ye shall be swept away, both ye and your king.’

Read midrashic interpretation of I Samuel 12:25: and classical rabbinic exegesis.