He was also a heretic, but what he was most certainly not, was an atheist. All I'm saying is that if some very smart people strongly believe that we're not just star dust that should at least make you question your own belief that there is no higher power.
Maybe put it to the test, even though you feel dumb for doing it, pray for something small that you would not otherwise expect to happen in the immediate future. see what happens
People who are otherwise smart often believe dumb things. History is littered with them. Which is why appeal to authority should always be regarded with skepticism.
This prayer example illustrates a series of fallacies and human biases. Confirmation bias, survivorship bias, apophenia, post-hoc reasoning... many ways we know our brains trick us.
Try this pre-registered, with large numbers and control groups.
Or just read the literature from people who did. Prayer does nothing.