Egyptians preferred duodecimal numbers to match the lunar cycles in a year or maybe the finger joints on each hand, but either way, that's how we got a 24 hour day.
For example, much of the world uses a duodecimal time system, the idea for that probably came from the ancient Egyptians who are believed to have set 10 hours four daylight, plus one for dawn, and one for twilight.