Jeremiah 27:3
And send them to the king of Edom, and to the king of Moab, and to the king of the Ammonites, and to the king of Tyrus, and to the king of Zidon, by the hand of the messengers which come to Jerusalem unto Zedekiah king of Judah; And send them to the king of Edom, and to the king of Moab, and to the king of the Ammonites, and to the king of Tyrus, and to the king of Zidon, by the hand of the messengers which come to Jerusalem unto Zedekiah king of Judah;
Jeremiah was to send word to the kings of Edom, Moab, Ammon, Tyre, and Sidon by the hand of their messengers who had come to Jerusalem to Zedekiah king of Judah. Those envoys had gathered at Jerusalem because the surrounding nations were considering a united revolt and war against Babylon. What was sent by them was an acted message of symbolic yokes and bonds, carrying God's call to submit to Babylon.
The message declared that God had given their lands to Nebuchadnezzar king of Babylon and had appointed them to serve him for a set time. If they submitted they would be allowed to remain and live in their own lands, while refusal and resistance would bring severe punishment by famine, sword or war, and pestilence. It was meant to encourage friendly relations with Babylon and to warn the nations against alliances that would bring conflict with its rulers, and to warn them not to trust prophets who promised they would escape subjection.
The period of Babylonian rule would last seventy years, after which God would deliver the captives and punish Babylon. The verse belongs to the record in chapters 27-29 of Jeremiah's messages and letters to the captives and to Jerusalem's authorities amid the conflict between true and false prophets during the Babylonian captivity, which Daniel later studied in connection with the promised return from exile.