Hitler recruited/forced all its boys to loyalty to himself and country. These kids didn't know what the hell they were doing and didn't understand the evil of Hitler.
Hitler was trying to institute his own brand of Christianity, with himself as head.
Apart from that he saw islam as the best religious alternative, which he would have taken up as “plan B”.