Jeremiah 7:23

23 But this command I gave them, "Obey my voice, and I will be your God, and you shall be my people; and walk only in the way that I command you, so that it may be well with you."

Jeremiah 7:23 In-Context

21 Thus says the Lord of hosts, the God of Israel: Add your burnt offerings to your sacrifices, and eat the flesh.
22 For in the day that I brought your ancestors out of the land of Egypt, I did not speak to them or command them concerning burnt offerings and sacrifices.
23 But this command I gave them, "Obey my voice, and I will be your God, and you shall be my people; and walk only in the way that I command you, so that it may be well with you."
24 Yet they did not obey or incline their ear, but, in the stubbornness of their evil will, they walked in their own counsels, and looked backward rather than forward.
25 From the day that your ancestors came out of the land of Egypt until this day, I have persistently sent all my servants the prophets to them, day after day;
New Revised Standard Version Bible, copyright 1989, Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved.