Who did Louis XIV believe gave him the right to absolute rule?

Louis XIV believed in the concept of the "divine right of kings," which stated that his authority to rule came directly from God. This belief gave him the right to absolute rule and justified his exercise of power without the need for approval from any other authority.