If I may recommend OsmAnd~ (https://f-droid.org/packages/net.osmand.plus/) on F-Droid if you're on Android (unlimited free maps), or Osmand+ (10 free maps) on iOS. It allows setting roads that you want to avoid generally.

It's a FOSS alternative to Google Maps, it uses OpenStreetMap for cartography data, in my experience it's pretty reliable and actually much better for certain use cases (like forest paths, in my region). It also has much better offline abilities.

I'm a happy paying OsmAND user, and can confirm that it works great in Ukraine.

Drove from Kraków to Kyiv and then to Chișinău Aug-Sep 2023, Kraków to Odesa and back in 2022, and never had a single issue.