Bank isn't going to lend you 600k if it means you're living check to check.
Usually it's no more than 3x of your gross. Now if you decide to buy a 600k house, plus a jet ski, BMW, motorcycle, 2x Canada goose jacket, eat out every night all on credit, then you have a problem... and the house...