A bill requiring the Ten Commandments be displayed in all public South Dakota classrooms passed the Senate with a 18-17 vote.