you are the one who is wrong check it out:
The earliest mention of Babylon is in a dated tablet of the reign of Sargon of Akkad (24th century BC short chr.), who made it the capital of his empire. Over the years its power and population waned. From around the 20th century BC, it was occupied by Amorites (nomadic Semitic tribes), flooding southern Mesopotamia from the the west, until it became the capital of Hammurabi's empire (ca. 18th century BC). From that time onward, it continued to be the capital of Babylonia, though during the 440 years of domination by the Kassites (1595-1155 BC), the city was renamed "Karanduniash".
The city itself was built upon the Euphrates, and divided in equal parts along its left and right banks with steep embankments to contain the river's seasonal floods. Babylon grew in extent and grandeur over time, but gradually became subject to the rule of Assyria.