If there was no freedom of religion over 500-600 years, how do you explain Christian majority of balkans and hungary?

Ottoman army which got defeated within months shows its incompetence. How such army can conduct mass murders and genocide? It cannot even defend itself...