'Deserved' in the Bible
And it shall be if the wicked man have deserved to be beaten, that the judge shall cause him to lie down, and be beaten before his face, according to the measure of his wickedness with a certain number of stripes.
"Now then, if you have been acting in good faith and integrity by making a king out of Abimelech, if you have treated Jerubbaal and his household appropriately by acting toward him as he deserved
Everyone from my grandfather's household deserved nothing but death from your majesty the king, but you provided a place for your servant among those who have been eating from your table. So what right do I have to ask for anything more from the king?"
Even though the invading Syrian army was relatively weak, the Lord handed over to them Judah's very large army, for the people of Judah had abandoned the Lord God of their ancestors. The Syrians gave Joash what he deserved.
And after everything that has come upon us for our evil deeds and for our great guilt, since You our God have punished us less than our wrongdoings deserve, and have given us survivors like these,
He will look at men and say,“I have sinned and perverted what was right;yet I did not get what I deserved.
Flee from the midst of Babylon and save each one his life. You must not perish because of her guilt. For this [is the] time of vengeance for Yahweh, he [will] repay her what is deserved.
Return to them what is deserved, O Yahweh, according to the work of their hands.
Then I scattered them among the nations, dispersing them to other lands, just as their lifestyles and behavior deserved. That's how I judged them.
What [are] you to me, Tyre and Sidon, and all of the regions of Philistia? Are you repaying to me what is deserved? If you [are] recompensing me, I will return swiftly [and] quickly what you deserve on your head!