Jeremiah received the LORD's word:
References for Jeremiah 7:1
Stand near the gate of the LORD's temple and proclaim there this message: Listen to the LORD's word, all you of Judah who enter these gates to worship the LORD.
This is what the LORD of heavenly forces, the God of Israel, says: Improve your conduct and your actions, and I will dwell with you in this place.
References for Jeremiah 7:3
Don't trust in lies: "This is the LORD's temple! The LORD's temple! The LORD's temple!"
No, if you truly reform your ways and your actions; if you treat each other justly;
if you stop taking advantage of the immigrant, orphan, or widow; if you don't shed the blood of the innocent in this place, or go after other gods to your own ruin,
only then will I dwell with you in this place, in the land that I gave long ago to your ancestors for all time.
References for Jeremiah 7:7
And yet you trust in lies that will only hurt you.
Will you steal and murder, commit adultery and perjury, sacrifice to Baal and go after other gods that you don't know,