why hooks for database firing from all pages...?

Hooks are per collection. They have nothing to do with datasets.
If you want to get data from the collection without triggering the hook, you’ll need to use a direct query instead of a dataset, write the query in a jsw file in the backend and use {suppressHooks: true}.
like:

export function queryCollection(collectionName){
return wixData.query(collectionName)
.limit(1000)
.find({suppressHooks: true})
.then(r => {
return r;
})
}

import to the front end and that’s all