If there weren't time, would everything happen at the same time? So maybe time is there to prevent that kind of chaos

Without time, we can't put order in our thoughts. Time is a necessary premise to be able to think. Without time, no reasoning.