“The Prophet (ﷺ) said: O community of people, who believed by their tongue, and belief did not enter their hearts, do not back-bite Muslims, and do not search for their faults, for if anyone searches for their faults, Allah will search for his fault, and if Allah searches for the fault of anyone, He disgraces him in his house.“ Abu Dawud (4880) Hasan Sahih according to Sheikh Albani
Think about this hadith, if it does not relate to you, then know that Allah never harms a human being for no reason. Rather, He punishes e.g. the person for a reason according to the extent of what was committed which is explained based on what was revealed in the Qur‘an and Sunnah. It could be a punishment regardless if you did not mistreat somebody, but maybe as a way to convey to you to stop. But maybe, you only allowed yourself to expose it (indirectly). Allah conceals your sin if you are mindful of yourself, of Allah and if you do not backbite or expose others.
Here is a Du‘a which you may recite every morning and evening for this matter:
The Messenger of Allah (ﷺ) never failed to utter these supplications in the evening and in the morning: “O Allah, I ask Thee for security in this world and in the Hereafter: O Allah! I ask Thee for forgiveness and security in my religion and my worldly affairs, in my family and my property; O Allah! conceal my fault or faults (according to Uthman's version), and keep me safe from the things which I fear; O Allah! guard me in front of me and behind me, on my right hand and on my left, and from above me: and I seek in Thy greatness from receiving unexpected harm from below me." in Abu Dawud (5074) Hasan Gharib according to Ibn Hajar (see “Book of Rememberances from An-Nawawi) because it was only narrated through one route; Al-Hakim and Dhahabi graded it Sahih
Concerning the question about how Allah thinks of a human being:
The Prophet (ﷺ) said: "Allah says: 'I am just as My slave thinks I am, (i.e. I am able to do for him what he thinks I can do for him) and I am with him if He remembers Me.“ in Sahih al-Bukhari (7405)
In another narration:
Abu Huraira reported: The Messenger of Allah, peace and blessings be upon him, said: “Allah Almighty says: I am as My servants expects of Me. If he thinks good of Me, he will have it. If he thinks evil of Me, he will have it.” Sahih Ibn Hibban (639)