One legal option could be that if you own an iPhone or iPad, download iMovie onto that from the App Store, and edit on your mobile device instead. That could also work out to be more convenient if your footage was also captured and stored on that device.
Otherwise, you might want to look for iMovie alternatives; a few direct alternatives (i.e. more beginner-friendly) which are free of charge would be Openshot, Shotcut and VSDC Free Video Editor. Other, more complex options would include Kdenlive, Olive, or DaVinci Resolve.
One legal option could be that if you own an iPhone or iPad, download iMovie onto that from the App Store, and edit on your mobile device instead. That could also work out to be more convenient if your footage was also captured and stored on that device.
Otherwise, you might want to look for iMovie alternatives; a few direct alternatives (i.e. more beginner-friendly) which are free of charge would be Openshot, Shotcut and VSDC Free Video Editor. Other, more complex options would include Kdenlive, Olive, or DaVinci Resolve.