That’s one way to fix your busted A/C. Wouldn’t go so far as to say it’s the right way, though.
"Let us with caution indulge the supposition that morality can be maintained without religion. Reason and experience both forbid us to expect that national morality can prevail in exclusion of religious principle." -- George Washington