2007 Suzuki XL7 randomly won’t start

Car periodically and randomly won’t start. All electrical systems are functioning and have been checked by a mechanic. Battery is good, starter is good.

Bad ignition switch maybe? Do repeated attempts create a successful start? does wiggling the key give a successful start? Either would definitely point to a bad ignition switch.

I hope you live in a country that still sells these cars. Suzuki left the US years ago.