Once you understand time and that GOD is not limited by time, it'll make sense that HE knows what's going to happen. In addition, as a dad, my kids have free will, but I know what they're going to do and how things will end sometimes lol.