Naomi Shemer wrote the original prophetic song for the Israeli Song Festival, held on 15 May 1967, the night after Israel's nineteenth Independence Day. She chose the then-unknown Shuli Nathan to sing the song.
At that time, the Old City was still controlled by the Hashemite Kingdom of Jordan and under its occupying rule.
Jews had been banned from the Old City and the rest of East Jerusalem, losing their homes and possessions and becoming refugees. All Jews were barred from either returning or entering the areas under Jordanian control, and many holy sites were desecrated and damaged during that period.
Only three weeks after the song was published, the Six-Day War broke out, and the song became a morale-boosting battle anthem of the Israel Defense Forces.