English Bibles print six closing verses as Malachi 4. Hebrew and NKJV keep the same order and end on the curse. The Septuagint, Brenton, and the Coptic Bible print them as Malachi 3:19-24 and close on Moses.
Read and follow along: https://orthodoxbiblestudy.com/bible-studies/old-testament/malachi/malachi-4-english-chapter-division-reference