Shemot9:27

וַיִּשְׁלַח פַּרְעֹה וַיִּקְרָא לְמֹשֶׁה וּלְאַהֲרֹן וַיֹּאמֶר אֲלֵהֶם חָטָאתִי הַפָּעַם יְהוָה הַצַּדִּיק וַאֲנִי וְעַמִּי הָרְשָׁעִים׃

And Pharaoh sent and called for Moshe and for Aharon and said to them: "I have sinned this time. The Eternal is righteous, and I and my people are in the wrong.

Shemot 9:27

וַיִּשְׁלַח פַּרְעֹה וַיִּקְרָא

Shemot / Exodus 9:27 · Pshat

Shemot 9:27

וַיִּשְׁלַח פַּרְעֹה וַיִּקְרָא לְמֹשֶׁה וּלְאַהֲרֹן וַיֹּאמֶר אֲלֵהֶם חָטָאתִי הַפָּעַם יְהוָה הַצַּדִּיק וַאֲנִי וְעַמִּי הָרְשָׁעִים׃

And Pharaoh sent and called for Moshe and for Aharon and said to them: "I have sinned this time. The Eternal is righteous, and I and my people are in the wrong.

Pshat פְּשָׁט

What Pharaoh confessed

For seven plagues Pharaoh stood firm. After the hail he suddenly says: "I have sinned this time." What was his sin, if he did not count refusing to free his slaves as a sin?

Rashbam: now, this time, I admit that I have sinned. Malbim: Pharaoh did not count holding Israel as a sin: they were his slaves. But the Eternal had warned him to bring people and cattle into the houses, out of pity, so that people would not die for nothing. Pharaoh and his people did not listen, and many people died. This is what he confessed: the Eternal is righteous and took pity on His creatures, while I and my people are guilty of shedding innocent blood.

How Rashbam and Malbim explain it

Rashbam I have sinned this time

Now, this time, I admit that I have sinned.

Malbim I have sinned this time

That he had not yet let the children of Israel go he did not count as a sin: they are his slaves, and he did not want them idle from work. But the Eternal had warned him to gather people and cattle into the houses and took pity on them, so that people would not be killed for nothing. And he and his people paid no heed to it and caused the death of many people. This is what he confessed: the Eternal warned them not to stay in the field because the Eternal is righteous and pities His creatures. And he and his people are guilty of shedding innocent blood.

Takeaway

Before the hail the Eternal had Pharaoh told: "Send, gather in your cattle and all that you have in the field: every man and beast found in the field, the hail will fall on them, and they will die" (Shemot / Exodus 9:19).
The Torah notes: "whoever among Pharaoh's servants feared the word of the Eternal drove his slaves and his cattle into the houses," and whoever paid no heed left them in the field (Shemot / Exodus 9:20–21).