The complete crate motor for $2,999 direct from Hyundai is a staggeringly good deal:
"The engine is fully equipped, complete module with all attachments including intake and exhaust manifolds, injectors, injector pump, common fuel rail, starter, generator, air conditioning compressor, drive belts. Completely finished engine for installation and driving."
Good luck trying to beat that value.
IMO, trying to source one off of Ali Express/EC21/etc with questionable origins or springing for a used JDM motor with unknown history when a crate motor can be had for so cheap, direct from the manufacturer, is the definition of penny wise and pound foolish.