>>13024296Solar radiation ionizes the upper atmosphere, and the subsequent ionosphere pushes back against the solar wind.
Venus is still losing atmosphere despite it's induced magnetosphere, but it's a very slow process and Venus' atmosphere is extra thicc to start.
Also volcanic activity could thicken the atmosphere faster than it is stripped, though it's not known for sure whether or not there is any volcanic activity still occuring.