Aquinas identified that things come into existence and later cease to exist
Therefore, there was a time when nothing existed.
Therefore, the cause of the universe is something external to it and must have already existed.
There must have been a necessary being to bring everything into existence- this necessary being was God and if he didnt exist, then nothing could have existed.