Steel is harder than aluminum, but hardness doesn’t fully capture the meaning of strength in relation to metals.
Steel outperforms aluminum by far in terms of sheer tensile and compressive strength. The carbon content in steel makes it inherently superior and able to withstand extreme strength without deforming, cracking or breaking. Steel is also more durable and resilient under extreme conditions except in corrosive environments.
The question of what is stronger between aluminum and steel becomes more complex with the addition of alloying elements, which can significantly increase the strength of each material, further blurring the lines of strength.