will factory reset bring back deleted system apps using usb debugging (adb)

if by mistake i deleted an important system app using adm commands using cmd (usb debugging) , will factory reset bring it back and all other apps?? Device-Realme 6i

edit 1- fullstory--> actually what happened is i landed on a website . i found it cool and decided to try it since i was frustated with pre-installed uninstallable color os apps and some google apps. so as mentioned on website i used cmd (platform tools- ADB command shell something like this), and deleted some packages. Now i fear i might have deleted some important or useful packages. So will i get them all back if i just simply factory reset my phone?

(ps-- no ROM flashing, no rooting allowed.)

edit 2 - actually i have no idea about flashing the rom. neither i want to root the device. actually i bought the device just a few months back