In Unreal Engine even a blank project will end up being roughly 300 MB when making a build.
In this video you’ll learn techniques to reduce the package size.
https://dev.epicgames.com/community/learning/tutorials/KpXX/how-to-reduce-package-size-in-unreal-engine-5