Numbers 31:44

And thirty and six thousand beeves,

The tally of thirty-six thousand head of cattle belongs to the record of Israel's war against Midian. That war was commanded as an act of judgment upon the Midianites for leading Israel into sin. The number therefore stands within the accounting of spoil taken in the execution of that judgment.