Answer:
make sure to note it wasn't an actual horse lol the soldiers built a huge wooden horse on wheels and they're enemies fell for it thinking it was a peace offering, once they brought the Trojan horse inside the soldiers started killing off their enemies with ease.