No. Patents are granted by patent offices in exchange for a full disclosure of the invention. In general, the details of the invention are then published and made available to the public at large.

It should be noted that publication can take place at various stages of the procedure. In some countries, the patent document is only published after the granting of a patent. In other countries, patent applications are generally published 18 months from the filing date or, where priority has been claimed, the priority date (for more details, see the website of your national IP office).

Sources: WIPO