Pep Guardiola has defended under-pressure Arsenal boss Arsene Wenger, saying he could find himself in a similar position in the future.