Seven times
Here’s what it means
Completely, repeatedly, or to a full degree.
Why the Bible says it this way
Because seven often signals completeness, the phrase may intensify an action rather than give a simple count.
An idiom is a familiar phrase whose meaning comes from the whole expression, not from reading each word by itself.
A helpful detail: Some occurrences are literal counts; each context must be checked.