וַיִּמְלֹ֥ךְ דָּוִ֖יד עַל־כָּל־יִשְׂרָאֵ֑ל וַיְהִ֗י עֹשֶׂ֛ה מִשְׁפָּ֥ט וּצְדָקָ֖ה לְכָל־עַמּֽוֹ׃
Dawid panował nad całym Izraelem; i czynił sprawiedliwość i prawość wobec całego swego ludu.
Rashi
justice and charity He retired from waging any more wars and from going forth and coming in battle, and he sat constantly and judged Israel fairly.