God is the greatest thing we can think of. Things can exist only in our imaginations, or they can also exist in reality.
Things that exist in reality are always better than things that exist only in our imaginations.
If God existed only in our imaginations, he wouldn’t be the greatest thing that we can think of, because God in reality would be better.
Therefore, God must exist in reality.