That is just an admission that god is an irrational emotional coping mechanism.
Yep. That is exactly what God is. Nonetheless, humans are hard wired to employ irrational emotional coping mechanisms for irrational situations. Rationality does not always have solutions to all problems, especially human emotional issues.
Please explain the rational steps to deal with the following: A long term apparently devoted partner and parent of one's children, finds it necessary to go live with herm same sex lover in a different community. No emotional reactions permitted. Simply provide rational steps to resolve the issue.