"There is pattern in all that is random"
Even the most complex of Random Number Generation Algorithms have a pattern. Let me know in case you know of one that doesn't.
The same is true for every other aspect. When the civilization began, very regular events like the sun rising, must have appeared random to the human-kind. Movement of Stars, Shapes of moon, flowing of rivers, aging, birth, everything must have appeared random. But the introspective human mind searched for and identified patterns in them.
In our lives as well, we assume that some things simply happen randomly. However, it is my personal belief that there is pattern and predictable behavior behind these as well. We are just not big enough to understand that.