I don’t know Dave Ramsey but the advice given here is solid. If you can’t make the numbers work, just don’t buy a house. (Buying a house and then going broke is not fun.)
Back in the day, you could buy a cheap house without having to worry about crime. That ship has sailed.