“a righteous Branch.” This is one of the titles of the Messiah, Jesus Christ.
“for David.” See commentary on Jeremiah 23:5.
“justice and righteousness.” In this context, “righteousness” is doing what is right toward God and people, and in effect is “justice.” In Jeremiah 33:15, “justice” means more like “judgment,” fair and equitable judgment, thus justice. The emphasis is the effect: justice. In contrast, “righteousness” has more emphasis on the action; doing what is right to God and to fellow humans. There is no justice on earth now, but when Christ reigns on earth as king there will be justice and righteousness. [For more on “righteousness” having the meaning of doing what is right or just (“justice”), see commentary on Matt. 5:6. For more on Christ’s future Millennial Kingdom on earth, see Appendix 3, “Christ’s Future Kingdom on Earth”].