The law not only "robs children of stable homes".  It corrals them toward and limits them to homes that practice religion and a specific religion. Atheists will be placed higher than gays or other religions on the list of banned parents.