When you mix your religion into your art, you can go one of two ways. You can make money or you can make a lot less money than you hoped to make.
Will Smith's movie will probably make a lot of money but only because there are things like disaster tourists and people who like to cringe. This film has undercurrents of his Scientology beliefs and his belief in an ability to make good films. Neither worked.
Good films don't get made anymore. This trash does get made. Enjoy the rest of your summer.