King James Version (KJV)
And the LORD hath done to him, as he spake by me: for the LORD hath rent the kingdom out of thine hand, and given it to thy neighbour, {even} to David: {to him: or, for himself} {me: Heb. mine hand}
Modern English
Yahweh has done to you as he spoke by me. Yahweh has torn the kingdom out of your hand, and given it to your neighbor, even to David.
Hebrew
וַיַּ֤עַשׂ יְהוָה֙ ל֔וֹ כַּאֲשֶׁ֖ר דִּבֶּ֣ר בְּיָדִ֑י וַיִּקְרַ֨ע יְהוָ֤ה אֶת־הַמַּמְלָכָה֙ מִיָּדֶ֔ךָ וַֽיִּתְּנָ֖הּ לְרֵעֲךָ֥ לְדָוִֽד׃
vayaʿas yhvah lvo kaʾasher diber byadiy vayiqraʿ yhvah ʾet-hamamlakah miyadeka vayitnah lreʿaka ldavid