Lighting device for a motor vehicle headlamp, comprising - an optoelectronic component, the optoelectronic component having an active side on which a controllable arrangement of a plurality of micromirrors is arranged, which micromirrors are arranged in the form of a two-dimensional matrix with rows and columns and can be pivoted independently of one another, - a cooling element which contacts the optoelectronic component on a side facing away from the active side for cooling the optoelectronic component, - a printed circuit board, which is arranged at least partially between the cooling element and the optoelectronic component and is connected to the optoelectronic component for its electronic control, - a stabilizing element, which is designed to additionally stabilize the position of the optoelectronic component in relation to the printed circuit board, - a fastening element which is designed to connect the stabilizing element and the cooling element to one another, wherein the stabilizing element has an opening for enclosing the optoelectronic component, at least two stabilizing arms extending away from one edge of the opening, which stabilizing arms are designed to engage on the optoelectronic component on the active side of the optoelectronic component in the connected state, the cooling element contacting the optoelectronic component on the side facing away from the active side in such a way in the connected state, that the latter exerts a pressure on the optoelectronic component acting in the direction of the active side of the optoelectronic component, the at least two stabilizing arms being designed to be resilient and acting on the active side of the optoelectronic component in such a way that the at least two stabilizing arms counteract this pressure of the cooling element characterized in that the stabilizing arms and the opening lie in the same plane. - an optoelectronic component, the optoelectronic component having an active side on which a controllable arrangement of a plurality of micromirrors is arranged, which micromirrors are arranged in the form of a two-dimensional matrix with rows and columns and can be pivoted independently of one another, - a cooling element which contacts the optoelectronic component on a side facing away from the active side for cooling the optoelectronic component, - a printed circuit board, which is arranged at least partially between the cooling element and the optoelectronic component and is connected to the optoelectronic component for its electronic control, - a stabilizing element, which is designed to additionally stabilize the position of the optoelectronic component in relation to the printed circuit board, - a fastening element which is designed to connect the stabilizing element and the cooling element to one another, wherein the stabilizing element has an opening for enclosing the optoelectronic component, at least two stabilizing arms extending away from one edge of the opening, which stabilizing arms are designed to engage on the optoelectronic component on the active side of the optoelectronic component in the connected state, the cooling element contacting the optoelectronic component on the side facing away from the active side in such a way in the connected state, that the latter exerts a pressure on the optoelectronic component acting in the direction of the active side of the optoelectronic component, the at least two stabilizing arms being designed to be resilient and acting on the active side of the optoelectronic component in such a way that the at least two stabilizing arms counteract this pressure of the cooling element characterized in that the stabilizing arms and the opening lie in the same plane.