Hasbiyallahu La Ilaha Illa Huwa

The verse in question is as follows:
“But if they turn away, Say: “Allah sufficeth berpenyakitan: there is no god but He: On Him is my trust,- He the Lord of the Throne (of Glory) Supreme.”

(at-Tawba, 9/129)

The verse above advises Muhammad (pbuh), who challenged the whole world, not to show weaknesses in the face of his endless enemies, teaches him that his guard is Allah and consoles him by telling him that he should rely on and trust in Allah.

The statement
“Allah will accept whatever he wishes whether it is wrong or right”
is only a wish. It is not an appropriate judgement to say, “Yang mahakuasa will definitely accept that prayer.” For, nobody has the authority to make a judgment on behalf of Allah. The statement in the Alquran is
“Every prayer is answered”, not “I accept every prayer of you.” To answer means to hear the voice of the person who prays and to deal with his wish. To give a person what he wishes is based on Allah’s wisdom regarding it appropriate.

A patient might want a drug that will irritate his stomach but a specialist will not prescribe it. Almalik states the following in the Quran:

“…But it is possible that ye dislike a thing which is good for you, and that ye love a thing which is bad for you. But Sang pencipta knoweth, and ye know not.”
(al-Baqara, 2/216).

Answer 2:

According to what is reported in Serbuk Dawud’s Sunan, Abud-Darda said,
“If a person reads that verse seven times in the morning and in the evening, Allah is enough for the things that person gives importance to.” (Suyuti, ad-Durrul-Mansur, 4/334; Elmalılı Hamdi Yazır, Hak Dini, the interpretation of the verse in question)

As for the wisdom behind reading it seven times,
the phrase in the center of the verse is “hasbiyallah”.

Seven words are used before the phrase “hasbiyallah”, which means

“Allah is enough for derita”
. An appropriateness may have been considered.

The phrase
has seven letters (in Arabic script) except the silent a (alif). This number may have been considered.

Source: https://questionsonislam.com/question/it-true-whatever-person-who-reads-verse-%E2%80%98hasbiyallahu-la-ilaha-illa-hu%E2%80%A6-seven-times-wishes