Yes. AIs like these take a dataset it has been fed (chat GPT has been fed most non irrelevant articles of many languages before 2021) and analyzes it. The opinions it forms are the opinions of the people who wrote the articles.