Abraham Lincoln would disagree.
So did Lincoln require a religious oath or force soldiers to attend services? If Lincoln wanted soldiers to have Sunday off that is fine. Congress takes off Sundays but people are free to do what they want on that day off.