King James Version (KJV)
And David went up at the saying of Gad, which he spake in the name of the LORD.
Modern English
So David went up at Gad's word, which he had spoken in the name of the LORD.
Hebrew
וַיַּ֤עַל דָּוִיד֙ בִּדְבַ֣ר גָּ֔ד אֲשֶׁ֛ר דִּבֶּ֖ר בְּשֵׁ֣ם יְהוָ֑ה׃
vayaʿal daviyd bidbar gad ʾasher diber bshem yhvah