The Pi4 does not work with all USB-C chargers. You may be lucky and it will work, or you may be unlucky and it will not work and you will have to buy another USB-C charger (which again may not work).
The reason is that the developers of the Pi4 made a mistake while designing the electronic circuit. They tried to design it themselves instead of copying it from the specification.