Can I safely charge a Galaxy S9 with a USB-C MacBook Pro charger?
All devices (Phones) are 5 Volt technology.

How fast it charges depends on....

Can the charger provide the power the battery is asking for.

Battery is a SMART battery type (it has a chip build in) so it will regulate the charging process safely.