The exactly solvable scalar hairy black hole model (originated from the modern high-energy theory) is proposed. It turns out that the existence of black holes is strongly correlated to global scalar field, in a sense that they mutually impose bounds upon their physical parameters like the black hole mass (lower bound) or the cosmological constant (upper bound). We consider the same model also as a cosmological one and show that it agrees with recent experimental data; additionally, it provides a unified quintessence-like description of dark energy and dark matter.