Most of the cost is not the advert
Advertising is the line everyone budgets and usually the smallest one. The real cost is time: shortlisting, interviewing, inducting, and the weeks during which a new person produces less than the colleague they are learning from.
That ramp period is the largest line in most hires and the one nobody counts, which is why it is included here even though it is an estimate rather than a measurement.