Money became necessary as increasingly specialized professions made bartering type economies increasingly difficult to manage
Fun fact: ancient Egypt didn’t have coins or anything we’d readily recognize as money until the Greeks took over. They used the value of a standardized weight of copper as the default value unit (a deben), but you didn’t actually need any copper present to conduct trade. You would just barter with the deben being the unit for how you negotiated the value of your items. For more valuable stuff you’d barter in debens of silver or gold.
Fun fact: ancient Egypt didn’t have coins or anything we’d readily recognize as money until the Greeks took over. They used the value of a standardized weight of copper as the default value unit (a deben), but you didn’t actually need any copper present to conduct trade. You would just barter with the deben being the unit for how you negotiated the value of your items. For more valuable stuff you’d barter in debens of silver or gold.