Is mining cryptocurrency profitable?

Hello. I would like to invest in cryptocurrency miners, but I am not sure if mining is still profitable after the last halving. What do you think about this? Is mining cryptocurrency still profitable? Thanks to everyone for the hints and best regards. Maurice