Many different civilizations have risen in the Near East over the millennia and each had their own unique religion, though they often overlapped, intermingled, and influenced one another.
The real-life inspiration for the Battle of the Bastards was the Battle of Cannae between the Romans and the Carthaginians, led by Hannibal, in 216 B.C., a key battle during the Second Punic War.