Does ATC provide ILS frequency and course setting for the runway in use?
When nearing their destination, pilots will be checking weather and airport information. This will let them know which runways are being used for landings and what type of approaches are being used. ATC will also tell each aircraft what runway and approach they can expect in advance, as in your example, "Expect ILS approach runway 24 left".

Once the pilots know the runway and approach, they can reference the corresponding chart (like the ones in this question). Pilots are required to have these charts available, traditionally paper copies but more recently being replaced by electronic copies. This will give them all of the information about the procedure, including the localizer frequency. Besides programming the frequency, the crew will also review the other important requirements of the approach and landing.

ATC does have access to this information as well, and can provide it if they feel they need to confirm the pilot has the right frequency, or if the pilot asks.