ESV: And Nathan said to David, "Do all that is in your heart, for God is with you."
NIV: Nathan replied to David, "Whatever you have in mind, do it, for God is with you."
NASB: Then Nathan said to David, 'Do whatever is in your heart, for God is with you.'
CSB: So Nathan told David, "Do all that is on your mind, for God is with you."
NLT: Nathan replied to David, 'Do whatever you have in mind, for God is with you.'
KJV: Then Nathan said unto David, Do all that is in thine heart; for God is with thee.
NKJV: Then Nathan said to David, “Do all that is in your heart, for God is with you.”