ESV: Only, may the Lord grant you discretion and understanding, that when he gives you charge over Israel you may keep the law of the Lord your God.
NIV: May the Lord give you discretion and understanding when he puts you in command over Israel, so that you may keep the law of the Lord your God.
NASB: Only the Lord give you discretion and understanding, and put you in charge of Israel, so that you may keep the Law of the Lord your God.
CSB: Above all, may the Lord give you insight and understanding when he puts you in charge of Israel so that you may keep the law of the Lord your God.
NLT: And may the Lord give you wisdom and understanding, that you may obey the Law of the Lord your God as you rule over Israel.
KJV: Only the Lord give thee wisdom and understanding, and give thee charge concerning Israel, that thou mayest keep the law of the Lord thy God.
NKJV: Only may the Lord give you wisdom and understanding, and give you charge concerning Israel, that you may keep the law of the Lord your God.