"And he [Jonah] said unto them, Take me up and cast me forth into the sea; so shall the sea be calm unto you: for I know that for my sake this great tempest is upon you. Nevertheless the men rowed hard to bring it to land, but they could not: for the sea wrought, and was tempestuous against them. Wherefore they cried unto Yahweh, we beseech thee, let us not perish for this man's life, and lay not upon us innocent blood: for thou, O Yahweh, hast done as it pleased thee. So they took up Jonah, and cast him forth into the sea: and the sea ceased from her raging. Then the men feared Yahweh exceedingly, and offered a sacrifice unto Yahweh, and made vows." Jonah 1:12-17
Jonah told the sailors to toss him overboard. They didn't want to kill him so they tried their hardest to get to land. Then they cried unto God to forgive them and gave sacrifices. From the story we're given, the sailors didn't view Jonah as toxic. They didn't throw him off because they were mad at him. They fought for his life and when they saw they couldn't succeed, they did as Jonah wanted, and heaved him overboard.
I don't think this story is a good analogy of booting toxic people out of your life.