Can't open steam after install - MacOS Mojave

When I open Steam right after installing it, nothing happens, and when I open steam_osx in /Applications/Steam.app/Contents/MacOS, I get this following message in terminal:

/Applications/Steam.app/Contents/MacOS/steam_osx ; exit;

Illegal instruction: 4

logout

Saving session...

...copying shared history...

...saving history...truncating history files...

...completed.

[Process completed]

My specs: Ryzen 5 2600, RX 580 8 GB, 16GB RAM, MacOS 14.1

submitted by /u/TheFirmWare
[link] [comments]