If you have a company or are a solo entrepreneur you can also reduce your profits by expensing things via the company (tech, cars, etc.) or investing further.
If you are running a GmbH or UG or GbR things might be different, but then why don’t you keep assets inside of the entity? Then the entity could grow its assets and you could only take what you need and save some assets for the future. (Assuming you make more than what you need to maintain your lifestyle)
Edit: Corporate tax in Germany consists of two parts, Gewerbesteuer and Körperschaftssteuer. Those vary depending on where you are incorporated in Germany (Hebesatz), but 30% is a good rough estimate.
In australia, there's franked dividends, which basically passes the tax credits down to shareholders (effectively, companies pay a 30% tax, but give that same dollar amount as credits to shareholders, who can then use it as tax paid in lieu). See https://www.investopedia.com/terms/f/frankeddividend.asp